Along the same lines, many exec resources are written with this
behaviour in mind. For example, this exec will initialize the puppet CA
certificate. Useful if you're running puppet under something like
passenger.
exec{'Create initial puppet CA':
command => '/sbin/service puppetmaste
Hi Jeffrey,
You cannot override the default parameter to be undef, but you can
override the service resource's behaviour with a resource collector[0].
It's less than ideal because you have to know the name of the service,
but something like this:
class{'apache':}
Service <|ti
See the 'recurse' and 'purge' parameters of the file type.
http://docs.puppetlabs.com/references/latest/type.html#file
file{'/root/mydir':
ensure => directory,
recurse => true,
purge => true,
}
file{['/root/mydir/a','/root/mydir/b','/root/mydir/c
Our site has several dozen yum repositories. Pushing all yum repositories to
all servers isn't practical; it hurts performance, some repositories are
OS-specific, and some repositories cause conflicts with each other (we have a
ruby187 repo and a ruby 193 repo, for example).
In our current setu
Hi John,
On Wednesday, March 13, 2013 11:51:51 AM UTC-4, jcbollinger wrote:
> On the flip side, the Firewall resource type provided by that module does not
> have any inherent dependency on such classes -- that's all coming from the
> global resource defaults you declare.
I understand that the ::