On Jul 5, 11:45 pm, Erik wrote:
> I'm a puppet n00b trying to write an ENC, and I'm a bit stumped.
> Here's the scenario:
>
> I have an app which is started via inittab, and a parameterized class
> which accepts several arguments (inittab label, log dir, version, etc)
> which it uses to ensure tha
I'm a puppet n00b trying to write an ENC, and I'm a bit stumped.
Here's the scenario:
I have an app which is started via inittab, and a parameterized class
which accepts several arguments (inittab label, log dir, version, etc)
which it uses to ensure that the app is installed, that certain
directo
Hi J,
The create resources function was created to serve this exact use case (the
README actually mentions your exact use case :) )
https://github.com/puppetlabs/puppetlabs-create_resources
This will require 2.6.5 or higher to work (That is the first version where
ENC's support param classes)
T
I have recently started moving the config of our puppet hosts out of the
nodes files and into an ENC so they can be managed through a web UI by
someone with less technical experience without the fear of a typo causing a
failure of all catalogs to compile. As a result, I have been looking at
which
I actually set this up today, if you set it up like:
path /facts
method find
auth any
allow *
does that fix your issue? If it does, it looks like it is something with
the way your reverse DNS is working on the allow line.
On Tue, Jul 5, 2011 at 4:24 PM, Craig White wrote:
> puppet 2.6.8
> pup
puppet 2.6.8
puppet-dashboard v1.1.1
auth.conf has:
path /facts
auth no
method find
allow dashboard, ubuntu.ttinet
path /inventory
auth no
method search, find
allow dashboard, ubuntu.ttinet
# grep fact puppet.conf
factpath=$vardir/lib/facter
factsysnc=true
The error (and I've tracked a lot
On 07/05/2011 04:31 AM, Vorik wrote:
err: Could not run Puppet configuration client: Could not find
dependency File[/usr/local/sbin/a2ensite] for Exec[enable vhost
www.dus123camptocamp.nl] at/etc/puppet/modules/apache/manifests/
definitions/vhost.pp:251
Make sure the package is installed be
On Jul 5, 2011, at 1:31 AM, Vorik wrote:
> Hi,
>
> I'm a puppet-n00b and am struggling a bit to get Apache-modules
> working.
>
> I've tried several, but most seem to be quite Debian-oriented and lack
> documentation.
>
> What is a good module to manage Apache on RHEL6 that is known to work?
>
Do you get any errors when you run puppetd/puppet agent on the server
side? (as apposed to running it on the client).
What version of puppet are you running btw?
ken.
On Tue, Jul 5, 2011 at 9:11 AM, alan bover wrote:
> Hi, I've been doing some testings with an iptables puppet recepy on my
> own
Excerpts from sanjiv.singh's message of Tue Jul 05 10:05:41 +0200 2011:
> Hi All,
> I am facing performance degrade of both puppet master and puppet
> client, when my manifests are designed for serving more and more files
> (flat file, jars,wars/templates).
>
> what could be the best approach to h
Hi,
I'm a puppet-n00b and am struggling a bit to get Apache-modules
working.
I've tried several, but most seem to be quite Debian-oriented and lack
documentation.
What is a good module to manage Apache on RHEL6 that is known to work?
I want to be able to create vhosts, nothing that fancy.
Curre
Hi, I've been doing some testings with an iptables puppet recepy on my
own deployment, where the puppetd and puppetmasterd are in different
machines. I don't really understand how to make puppetmasterd get
automatically the libraries from the modules. Some workaround:
The module iptables structure
Hi Kyle,
The source paths need to be accessible by the same user that
puppetmasterd is running as ... which is usually puppet. Some of those
files are owned by root and 700 or 600 so it can't read them:
> drwx-- 2 root root 4.0K 2011-07-05 07:39 autostart
Look at the error:
> err: /Stage[m
On Jul 4, 2011, at 5:45 AM, Felix Frank wrote:
> On 07/01/2011 08:41 PM, Craig White wrote:
>> Moving it to templates and appending .erb to the names handled things fine
>
> I think that's gratuitous.
>
> You can use templates without .erb names. Also, the file() function
> would be more appro
On 5 July 2011 14:24, Martin Alfke wrote:
> On 07/05/2011 03:19 PM, Brian Gallew wrote:
> > I was seeing the behavior on my Solaris boxes when running Puppet under
> > SMF. The issue, in my case, was that I was trying to work around an SMF
> > bug. My "workaround" was to "svcadm disable puppetd
Sorry, I am bad. I should have posted the solution to the list.
It seems that the puppet gem is hard coded to use /var/lib/puppet/run/agent.pid
(I still haven't bothered to check the source code). For puppetd, I simply had
to change the PID file location to hard coded location.
I haven't tracke
On 07/05/2011 09:24 AM, Martin Alfke wrote:
On 07/05/2011 03:19 PM, Brian Gallew wrote:
> I was seeing the behavior on my Solaris boxes when running Puppet under
> SMF. The issue, in my case, was that I was trying to work around an SMF
> bug. My "workaround" was to "svcadm disable puppe
On Jul 5, 2:51 pm, imase wrote:
> After I change something and
> deployed again with capistrano, the classes rad in the .txt-file were
> away. But after the next time deploying it they were back again.
... So, what did you change? ;)
> node 'v00404' inherits basenode {
> import "webapps.pp
Hey Luke,
thank you for your reply. The module tcserver is almost default from
example42. The module RAD is fully new written by me. I confirmed that
the module tcserver does not include the module rad. Also the general
does not include rad. I checked the classes.txt File when the
confusions happe
Hello All,
I administrate public Internet computers for a number of libraries.
I have a user 'public' and I am trying to keep all the home's for this
user the same across multiple computers. When I try to do this with
puppet, I get errors for some directories. It only happens on hidden
directorie
On 07/05/2011 03:19 PM, Brian Gallew wrote:
> I was seeing the behavior on my Solaris boxes when running Puppet under
> SMF. The issue, in my case, was that I was trying to work around an SMF
> bug. My "workaround" was to "svcadm disable puppetd;svccfg import
> /var/svc/manifest/network/puppetd.x
I was seeing the behavior on my Solaris boxes when running Puppet under SMF.
The issue, in my case, was that I was trying to work around an SMF bug. My
"workaround" was to "svcadm disable puppetd;svccfg import
/var/svc/manifest/network/puppetd.xml;svcadm enable puppet". The astute
viewer will no
On 07/05/2011 07:15 AM, Chris Phillips wrote:
> debug: Service[puppet](provider=redhat): Executing '/sbin/service puppet
> stop'
> notice: Caught TERM; calling stop
> [root@gibsvlin-erp2dst ~]# /etc/init.d/puppet status
> puppetd is stopped
That's just weird looking.
So puppet is running, and t
Currently it's just like this:
service { "puppet":
#ensure => running,
#enable => true,
ensure => stopped,
enable => false,
subscribe => File["/etc/puppet/puppet.conf"],
hasrestart => true,
hasstatus => tr
On 07/05/2011 05:51 AM, Ken Barber wrote:
Then you can also use these anonymous blocks/closures with defaults as well:
class c {
{
Service { hasstatus => true }
service { "a": }
}->
Yes, they should have their own scope, and pretty normal
puppet semantics/conventions. Mayb
Well ... then I agree with your sentiments on using classes, it can
get ugly using inner classes to achieve what you want. Something I
often find myself doing with the puppetlabs-firewall module using
inner classes to get around having to do proto => tcp and proto => udp
repeatedly:
class c {
cl
On 07/05/2011 05:35 AM, Luke Bigum wrote:
avoiding the use of a class for ...
conceptual reasons.
Exactly right. Thank you for that phrase. -v
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to puppet-u
What does your service {} block look like? Are you using hasstatus =>
true? For example:
service { "puppet":
ensure => running,
enable => true,
hasstatus => true,
}
ken.
On Tue, Jul 5, 2011 at 9:53 AM, Chris Phillips wrote:
> Hi,
> I've a puppet module running which ensures the puppet ser
On Jul 5, 10:26 am, vagn scott wrote:
> Now, you can rewrite this using class {} instead of block{}.
> You probably have lots of classes in that style, and then you
> sequence things with Class[ a ] -> Class[ b ]. How many of
> those classes only exist because there is no other block structure?
On 07/05/2011 04:35 AM, Ken Barber wrote:
Whats wrong with using chained resources?
It doesn't scale.
Try expanding this (it is a slightly improved
proposal with block{} instead of order{}):
class c {
block { "x":# any order
package { ... }
file
I wasn't aware of that layout of the syntax, that's a really interesting way
of writing it. The OP would seem to want "blocks" added to this though. This
is all very reminiscent of Stages though, so surely if there IS a solution
that satisfies the original need it would be an adjustment to stages.
Hi,
I've a puppet module running which ensures the puppet service is not running
and not starting on boot. A few times a few different nodes have become
stuck, apparently always thinking that the service is running when it is
not. The following below excerpt just goes round and round run after run
Whats wrong with using chained resources?
class x {
file { "a":
} ->
exec { "b":
} ->
exec { "c":
} ->
exec { "d":
}
}
ken.
On Tue, Jul 5, 2011 at 4:40 AM, vagn scott wrote:
> Sometimes things just have to happen in sequence.
> It is the simplest of relations, but puppet really
FYI - for performance I would upgrade Puppet (there were performance
improvements in newer revisions), and use something like
Apache/Passenger as a delivery mechanism.
One question - does this happen each time you run it on the same box?
If there is no new changes - is the performance still terrib
On 5 July 2011 13:35, sanjiv.singh wrote:
> Hi All,
> I am facing performance degrade of both puppet master and puppet
> client, when my manifests are designed for serving more and more files
> (flat file, jars,wars/templates).
>
> what could be the best approach to handle this?
After moving away
Hi All,
I am facing performance degrade of both puppet master and puppet
client, when my manifests are designed for serving more and more files
(flat file, jars,wars/templates).
what could be the best approach to handle this?
thanks,
Sanjiv Singh
Impetus Infotech
--
You received this message be
hi all,
I am using environment option in /etc/puppet/puppet.conf for
supporting various releases.
like
.
.
[release1]
modulepath = /usr/local/applications/release1
[release2]
modulepath = /usr/local/applications/release2
[release3]
modulepath = /usr/local/applications/release3
.
.
As
Hi Peter,
thanks for quick reply.
ya i am using Webrick default with puppetmaster.
As per performance guild line,for servicing more nodes it is
recommended to move on passenger/mongrel. surely i will do this.
There are around 100+ servers in my environment.but at most puppet
master serving to 10-
I like it.
You could also call the class like we do with stages:
class { c: ordered => strict, stage => main }
This could influence the way block[x] -> block[y] is called.
It would make determining order and troubleshooting clearer.
Anyway, put up a feature request and I'll vote for it.
Chee
On 07/05/2011 01:57 AM, Peter Meier wrote:
Can also be:
Yes, I know. Now expand this one, and maybe you will get my point.
-
Thinking about this some more, I like block better,
with order optional:
class c {
block { "x":# any order
package {
40 matches
Mail list logo