[Puppet Users] Re: wildcards in file type?

2008-11-06 Thread RijilV
On Thu, Nov 6, 2008 at 4:01 PM, joe <[EMAIL PROTECTED]> wrote: > > > Is there a way to have puppet monitor files it isn't sourcing? > > There is no way for puppet to do anything with a file it doesn't know about. That doesn't mean you have to define a source for the file, or even specify any othe

[Puppet Users] Re: wildcards in file type?

2008-11-06 Thread Aj
No, there is no way. On 7/11/2008, at 1:01 PM, joe <[EMAIL PROTECTED]> wrote: > > I just added the require after subscribe alone didn't work. > > I thought that if I specified the directory with recurse => true, it > would monitor all the files in the directory as well. > > Is there a way to hav

[Puppet Users] Re: wildcards in file type?

2008-11-06 Thread joe
I just added the require after subscribe alone didn't work. I thought that if I specified the directory with recurse => true, it would monitor all the files in the directory as well. Is there a way to have puppet monitor files it isn't sourcing? On Nov 6, 3:41 pm, Aj <[EMAIL PROTECTED]> wrote:

[Puppet Users] Re: wildcards in file type?

2008-11-06 Thread Aj
This notification will only fire if the managed parameters for the directory are out of sync, e.g. Owner/group/modes/file type (link, file). Subscribe also implies require, FYI =) On 7/11/2008, at 8:38 AM, joe <[EMAIL PROTECTED]> wrote: > > It's a defined file resource without a source para

[Puppet Users] Re: wildcards in file type?

2008-11-06 Thread joe
It's a defined file resource without a source parameter. Here is the syntax: file { "/opt/management/dns/zones": owner => "root", group => "root", mode => "644", ensure => directory, recurse => true } Then there is

[Puppet Users] Re: Anyone attending LISA 08 next week...?

2008-11-06 Thread Juri Rischel Jensen
On Nov 3, 2008, at 19:05 , Steven VanDevender wrote: > Is Luke planning on running a Puppet BOF as he has in past years? Yep: http://www.usenix.org/events/lisa08/bofs.html#puppet ;-) -- Med venlig hilsen/Best regards Juri Rischel Jensen Fab:IT ApS Vesterbrogade 50 DK-1620 København Tlf: +45

[Puppet Users] Re: Adobe Reader Recipe

2008-11-06 Thread Simon J Mudd
[EMAIL PROTECTED] (Loobster) writes: > I was thinking of creating a little script (ar-8.1.3-1.install.sh) to > do that and also figure out which version of reader is installed. > > -bash-3.00$ /opt/Adobe/Reader8/bin/acroread -v > 8.1.2 > > So far, this is what I came up with on the puppet side of

[Puppet Users] Re: Adobe Reader Recipe

2008-11-06 Thread Mike Renfro
On 11/6/2008 10:53 AM, Loobster wrote: > Thanks for the reply! We are a Solaris shop. > > As far as I know, there is no Solaris package for Adobe Reader. One possible route: install Reader by hand somewhere. Make your own Solaris package out of what it installs [1] (I've documented how to do i

[Puppet Users] Re: wildcards in file type?

2008-11-06 Thread Evan Hisey
On Wed, Nov 5, 2008 at 6:19 PM, joe <[EMAIL PROTECTED]> wrote: > > I'm having a similar issue that that wiki entry does not directly > address. > > I'm trying to do a subscribe on a file definition that is a directory. > > I have ensure => directory and recurse => true. > > I do not use puppet to

[Puppet Users] Adobe Reader Recipe

2008-11-06 Thread Loobster
I'm wondering if someone would like to share their Adobe Reader recipe. http://www.adobe.com/products/acrobat/readstep2.html OR something similar that does the following: Installs the software if the program does not exist or install the software if the version is lower than x.y.z. Thanks Karl

[Puppet Users] Re: Adobe Reader Recipe

2008-11-06 Thread Loobster
Thanks for the reply! We are a Solaris shop. As far as I know, there is no Solaris package for Adobe Reader. You have to run an installer. In order to run the installer, you need to unzip/untar the archive. I was thinking of creating a little script (ar-8.1.3-1.install.sh) to do that and also

[Puppet Users] Re: Adobe Reader Recipe

2008-11-06 Thread Evan Hisey
On Thu, Nov 6, 2008 at 10:04 AM, Loobster <[EMAIL PROTECTED]> wrote: > > I'm wondering if someone would like to share their Adobe Reader > recipe. > http://www.adobe.com/products/acrobat/readstep2.html > > OR something similar that does the following: > > Installs the software if the program does

[Puppet Users] Re: CSWpuppet puppetd.conf empty

2008-11-06 Thread Mike Renfro
On 11/5/2008 3:34 PM, elijah wright wrote: > On Wed, Nov 5, 2008 at 3:27 PM, Loobster <[EMAIL PROTECTED]> wrote: >> I'm wondering if it's possible to do something like this on the >> clients: >> If /usr/local/firefox-3.0.3 does not exist, copy tar file from the >> server and run a script. > > Yo

[Puppet Users] Re: Reports and Reporting

2008-11-06 Thread Arnau Bria
On Thu, 6 Nov 2008 16:43:31 +0100 Arnau Bria wrote: > err: Report rrdgraph failed: Could not create RRD > file /var/lib/puppet/rrd/td234.pic.es/time.rrd: invalid argument - > Bignum, expected T_STRING or T_FIXNUM on index 2 > I've installed http://rubyforge.org/projects/rubyrrdtool/ (.gem) # ge

[Puppet Users] Re: Reports and Reporting

2008-11-06 Thread Arnau Bria
> logs say nothing about rrd or something similar, where may I find some > info about what's happening? I got the error when debbuging: err: Report rrdgraph failed: Could not create RRD file /var/lib/puppet/rrd/td234.pic.es/time.rrd: invalid argument - Bignum, expected T_STRING or T_FIXNUM on

[Puppet Users] Re: use of arrays with templates

2008-11-06 Thread tek-ops
for me, that only works if I specify $nameserver in the manifest for my resolv.conf module. If I specify it in the node (i.e. configuring one node to use different name servers), it concatenates the two nameserver array elements to a single array. On Nov 5, 9:44 pm, Aj <[EMAIL PROTECTED]> wrote:

[Puppet Users] Re: Reports and Reporting

2008-11-06 Thread Arnau Bria
On Wed, 5 Nov 2008 14:58:49 +0100 Arnau Bria wrote: Hi, I solved some reporting problems: [...] bad: > [puppetmasterd] > reports = rrdgraph,store,true > reportdir = /tmp/puppet/ > rrddir = /var/www/html/rdd/ > rrdinterval = 60 >

[Puppet Users] Solution to managing an entire directory in a "waterfall" configuration

2008-11-06 Thread Eiwe Lingefors
The subject may not make a lot of sense so let me try and explain. I've searched the archives and come up short so my apologies if this has indeed been addressed before. I have a function that looks like this: define remotedir($mode, $owner, $group, $source, $ensure = directory, $recurse = inf)

[Puppet Users] introduction with david's munin module question

2008-11-06 Thread adamou s. nacer
Hi all, I am new to puppet and also newcomer in this group. I heart good things about puppet and I decided to give it a try 2 weeks now. After reading various documentation, I began using the complete configuration collection of puppet modules (thanks to David). But I have a problem with the munin

[Puppet Users] Re: wildcards in file type?

2008-11-06 Thread joe
I'm having a similar issue that that wiki entry does not directly address. I'm trying to do a subscribe on a file definition that is a directory. I have ensure => directory and recurse => true. I do not use puppet to source the files (they are on nfs shared to all servers that use them). Puppe

[Puppet Users] Managing recursive directories in a "waterfall" configuration

2008-11-06 Thread Eiwe Lingefors
The subject may not make a lot of sense so let me try and explain. I've searched the archives and come up short so my apologies if this has indeed been addressed before. I have a function that looks like this: define remotedir($mode, $owner, $group, $source, $ensure = directory, $recurse = inf)