service { "httpd":
subscribe => [File['one'],File['two']],
}
should work
Luke
On Jul 20, 2010, at 08:10 EDT, Tore wrote:
> You could also do:
> class httpd {
> ...
> file { '/etc/monit.d/httpd.conf':
> ...
>notify => Service['monit']
> }
>
> }
>
>
On Mar 14, 2010, at 18:37 EDT, Luke Kanies wrote:
> On Feb 26, 2010, at 12:07 PM, Alan Sparks wrote:
>
>> I've a tidy resource for /tmp under 0.24.8, which throws errors each run
>> due to a socket file created by xfs under /tmp/.font-unix/. It's
>> relatively harmless, but it fills the logs wi
On Mon, Dec 7, 2009 at 2:27 AM, Peter Meier wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> > The base of the code is something like:
> >
> > require "puppet"
> > require "yaml"
> > require "find"
> > Puppet[:config] = "/etc/puppet/puppet.conf"
> > Puppet.parse_config
> > Puppet[:nam
I just had to set the environment variable in the puppet.conf file before
starting the puppetd daemon. Then in each class I use that variable to
determine what happens, for example
file { "smtpd.conf":
owner => root,
group => root,
mode=> 600,
Does anyone have a puppet recipe that would remove extraneous
permissions on files and directories without explicitly setting what
the permissions should be? I have an application that creates and
manipulates a bunch of temp files and directories under /tmp, and I'd
like to remove the unn
On Thu, Oct 8, 2009 at 6:14 PM, Luke Schierer wrote:
> I am trying to configure tagmail to send emails to different segments of
> the team based on the classes that are loaded. For the most part it seems
> to be working, but I'm having trouble with getting a rule that will send
I am trying to configure tagmail to send emails to different segments of the
team based on the classes that are loaded. For the most part it seems to be
working, but I'm having trouble with getting a rule that will send an email
for everything except events related to a particular class, or those
On Mon, Sep 28, 2009 at 3:12 PM, Luke Schierer wrote:
>
>
> On Fri, Sep 25, 2009 at 4:04 PM, Luke Schierer
> wrote:
>
>>
>> This works for my redhat 5 machines, I'm able to pull from the array of
>> sources. However, it does n work for redhat 4 machines.
On Fri, Sep 25, 2009 at 4:04 PM, Luke Schierer wrote:
>
> This works for my redhat 5 machines, I'm able to pull from the array of
> sources. However, it does n work for redhat 4 machines. If a redhat 4
> machine is listed in the array, I get
>
> err: Could not call filese
On Fri, Sep 25, 2009 at 1:23 PM, Luke Schierer wrote:
> On Thu, Sep 24, 2009 at 11:43 AM, Luke Schierer > wrote:
>
>> I have the following snippet I am using to test with the puppet command
>>
>> node host1 {
>>
>> file { "/var/www/target":
&
On Thu, Sep 24, 2009 at 11:43 AM, Luke Schierer wrote:
> I have the following snippet I am using to test with the puppet command
>
> node host1 {
>
> file { "/var/www/target":
> path => "/var/www/target",
> mode => 570,
> owner =>
ond puppetmaster with its
> FQDN? e.g.
>
> source =>
> puppet://second.foor.com/module/file/..<http://second.foor.com/module/>
> ..
>
> Ohad
>
>
> On Thu, Sep 24, 2009 at 2:26 PM, Luke Schierer wrote:
>
>>
>> The secondaries are each clients of the first one
gine2, it was
> very simple to have cfservd running on each host, distribute the keys
> to each, and then pull result files from the clients to the central
> server. I cannot seem to find an example of a similar setup with
> puppet.
>
> Luke
>
> On Sep 22, 4:3
On Sat, Sep 19, 2009 at 7:53 AM, Luke Schierer wrote:
> On Sep 19, 2009, at 05:11 EDT, Peter Meier wrote:
>
>> The standard way to do that is:
>>>> source =>
>>>> ["puppet:///foo/file-$hostname","puppet:///foo/file-$lsbdistcodename
>>
On Sep 19, 2009, at 05:11 EDT, Peter Meier wrote:
>
> Hi
>
>>> The standard way to do that is:
>>> source =>
>>> ["puppet:///foo/file-$hostname","puppet:///foo/file-$lsbdistcodename
>>> ","puppet:///foo/file"]
>>> - check for modules/foo/file-www4, then file-jaunty, then file
>>>
>>
>> As I und
> - check for modules/foo/file-www4, then file-jaunty, then file
>
As I understood source arrays, would only grab the first one to
succeed, Type Reference says "If you specify multiple file sources for
a file, then the first source that exists will be used.".Is that
page
I am looking at migrating a set of servers from cfengine management to
puppet management. For the most part, the move has been relatively straight
forward, and I am pleased with the way that puppet's modules have made some
of the things I did in cfengine2 much cleaner. There is one thing though
t
17 matches
Mail list logo