Re: [Puppet Users] Re: can checksum be set to none on a file if content is defined?

2010-09-09 Thread John Warburton
I'm getting this too on 0.25.5 when a file does not yet exist, and when I don't care about about md5 changes *after* the file has been created by puppet Like John, I don't particularly care when the checksum changes, and don't want it to appear in my noop reports It is unclear from the 2.6.x rele

Re: [Puppet Users] Virtual Resources

2010-09-09 Thread Frederik Wagner
Hi Doug, On Thu, Sep 9, 2010 at 7:06 PM, Douglas Garstang wrote: > Would it be safe to say that virtual resources, once defined, sort of > become like a globally scoped object within the node? Ie, in one > module I can require=> an object defined as a virtual resource in > another module, as long

Re: [Puppet Users] Resources on Windows

2010-09-09 Thread Patrick
On Sep 9, 2010, at 1:02 AM, William Van Hevelingen wrote: > Hi Patrick, > > On Wed, Sep 8, 2010 at 11:10 PM, Patrick wrote: > I was going to try puppet on Windows and was wondering if anyone has advice > before I start. I found > http://projects.reductivelabs.com/projects/puppet/wiki/Puppet_

[Puppet Users] Re: Having trouble configuring puppet for file serving

2010-09-09 Thread deet
> [files] > path /tmp/puppet What is the structure under /tmp/puppet? I would expect to see /tmp/ puppet/files/0909.txt on the server. My understanding of how modules are structured is that in each module directory you would have a directory called "files" which contains the files you want to

Re: [Puppet Users] Re: Setup 2.6 + apache, passenger

2010-09-09 Thread Patrick
On Sep 9, 2010, at 10:58 AM, FreddieB wrote: > Hi Stefan and Mathias! > > I'll definitely try this out. If that doesn't work for some reason > I'll probably wait for the package in experimental to move up the > "ladder" (performance is not critical yet). One warning, Webrick's bad performance c

[Puppet Users] Having trouble configuring puppet for file serving

2010-09-09 Thread 2ead3bcd
Hi, I am running puppet-server 0.25.5 on CentOS 5.4. I defined a moudle in /etc/puppet/fileserver.conf as below: [files] path /tmp/puppet allow * I also defined a resource in /etc/puppet/manifests/site.pp: file { "/etc/passwd": owner => "root", group => "bin", mode => 644, } file { "/tmp/0909.t

[Puppet Users] Re: puppet dashboard and 64-bit mysql

2010-09-09 Thread deet
> env ARCHFLAGS and export ARCHFLAGS, even just setting the variable > normally via the standard declaration/export. Tim. From your original post I'm assuming your using "cc" from sun studio. If that's the case I use the following when I need to compile something against my 64 bit mysql pack

[Puppet Users] Re: Setup 2.6 + apache, passenger

2010-09-09 Thread FreddieB
Hi Stefan and Mathias! I'll definitely try this out. If that doesn't work for some reason I'll probably wait for the package in experimental to move up the "ladder" (performance is not critical yet). I'll post my results. Thanks a lot guys /Freddie On Sep 9, 1:16 am, Mathias Gug wrote: > Hi,

Re: [Puppet Users] file() function requires absolute paths?

2010-09-09 Thread Eric Sorenson
This was already covered under a couple of earlier bugs. The original was: http://projects.puppetlabs.com/issues/1946 On Sep 9, 2010, at 10:39 AM, Dan Urist wrote: > On Thu, 9 Sep 2010 10:24:13 -0700 > Jeff McCune wrote: > >> On Thu, Sep 9, 2010 at 10:19 AM, Dan Urist wrote: >> [snip] >>> Doe

Re: [Puppet Users] file() function requires absolute paths?

2010-09-09 Thread Dan Urist
On Thu, 9 Sep 2010 10:24:13 -0700 Jeff McCune wrote: > On Thu, Sep 9, 2010 at 10:19 AM, Dan Urist wrote: > [snip] > > Does the file() function only support fully qualified > > paths? > > Yes. I recommend looking into copying the logic from the template() > function into the file() function and

Re: [Puppet Users] file() function requires absolute paths?

2010-09-09 Thread Jeff McCune
On Thu, Sep 9, 2010 at 10:19 AM, Dan Urist wrote: [snip] > Does the file() function only support fully qualified > paths? Yes. I recommend looking into copying the logic from the template() function into the file() function and submitting a patch. Alternatively, you could use the template() func

[Puppet Users] file() function requires absolute paths?

2010-09-09 Thread Dan Urist
I have the following in my puppet.conf, to define an environment called "dev": > [dev] > manifest=/usr/local/puppet/dev/site.pp > modulepath=/usr/local/puppet/dev/modules/package:/usr/local/puppet/dev/modules/node My rationale for this is that I'm splitting my modules into two types-- a "package"

[Puppet Users] Virtual Resources

2010-09-09 Thread Douglas Garstang
Would it be safe to say that virtual resources, once defined, sort of become like a globally scoped object within the node? Ie, in one module I can require=> an object defined as a virtual resource in another module, as long as they are both being run on the node? The docs really don't make a lot o

Re: [Puppet Users] custom facts setup questions

2010-09-09 Thread James Cammarata
On Thu, 9 Sep 2010 11:43:44 +0200, Sandor Szuecs wrote: > On Sep 8, 2010, at 9:45 PM, James Cammarata wrote: > >> Definitely ruby's fault on this one, apparently. The original system I >> was >> testing on is RHEL4, with ruby 1.8.1-7. I just tested the exact same >> configs on a RHEL5 box with

Re: [Puppet Users] custom facts setup questions

2010-09-09 Thread Sandor Szuecs
On Sep 8, 2010, at 9:45 PM, James Cammarata wrote: > Definitely ruby's fault on this one, apparently. The original system I was > testing on is RHEL4, with ruby 1.8.1-7. I just tested the exact same > configs on a RHEL5 box with ruby 1.8.5-5 and it worked flawlessly: I guess ruby 1.8.1 is the

Re: [Puppet Users] Re: Redefine package type

2010-09-09 Thread Eric Shamow
Well as a starter -- This is a provider called rpm_plus.rb -- I found most of it floating around on the web and I seem to recall tweaking some small part of it, although I don't recall now what it was... in any event this works and is in use in our environment. Provider looks like: Puppet::Type.

[Puppet Users] Re: puppet dashboard and 64-bit mysql

2010-09-09 Thread Tim
Thanks for the suggestion. I tried, oh maybe a hundred or so variations of installing that gem, trying an earlier version and even downloading the source and trying it that way. No dice. It simply won't compile against the 64-bit mysql libraries. I'm not even sure it was understanding the ARCHFLAGS

Re: [Puppet Users] Puppet use with OLPC's XS

2010-09-09 Thread Alan Barrett
On Wed, 08 Sep 2010, Martin Langhoff wrote: > 1 - With a high number of identical nodes, we are very precious about > deploying the exact same sw package (rpm in this case) to all nodes. > Can I declare an exact rpm version/revision in a packages[] section? > Can I later update it with a later vers

[Puppet Users] Re: puppet.conf => client = false; Puppet 0.25.5

2010-09-09 Thread CraftyTech
Phenomenal.. Thanks a lot guys. Cheers, On Sep 9, 8:45 am, M C wrote: > I've been fighting with this same issue in version 2.6.0.  Setting "client = > false" in puppet.conf doesn't seem to do anything.  Rather than modifying > the init script for puppet like Christian, I updated /etc/sysconfig

Re: [Puppet Users] Re: puppet.conf => client = false; Puppet 0.25.5

2010-09-09 Thread M C
I've been fighting with this same issue in version 2.6.0. Setting "client = false" in puppet.conf doesn't seem to do anything. Rather than modifying the init script for puppet like Christian, I updated /etc/sysconfig/puppet with the following line: PUPPET_EXTRA_OPTS=--no-client That's solved my

Re: [Puppet Users] join()

2010-09-09 Thread Dan Bode
Hi Martijn, here is an outline of the steps required for submitting a patch. http://projects.reductivelabs.com/projects/puppet/wiki/Development_Development_Lifecycle an overview would be: * create a ticket (if one does not already exist) * fork reductivelabs puppet repo from github.com/reductiv

[Puppet Users] Re: puppet.conf => client = false; Puppet 0.25.5

2010-09-09 Thread Christian Casar
Since I stumpled upon this bug I added the --no-client flag to the puppet init script. Apart from being a bit ugly, it works fine. It looks like this: checkproc $puppetd --no-client --logdest /var/log/puppet/puppetd.log $ {PUPPET_OPTS} ${PUPPET_EXTRA_OPTS} && touch ${lockfile} I also added logdest

Re: [Puppet Users] join()

2010-09-09 Thread Martijn Grendelman
On 09-09-10 11:50, R.I.Pienaar wrote: >> In the function reference [1], I found a 'split' function for >> splitting a >> string into an array, but not a 'join' function for joining an array >> into >> a string. Why not? :) >> >> I have a list of IP addresses, that I use with ssh_authorized_key to >

Re: [Puppet Users] join()

2010-09-09 Thread R.I.Pienaar
- "Martijn Grendelman" wrote: > Hi puppeteers, > > In the function reference [1], I found a 'split' function for > splitting a > string into an array, but not a 'join' function for joining an array > into > a string. Why not? :) > > I have a list of IP addresses, that I use with ssh_author

[Puppet Users] join()

2010-09-09 Thread Martijn Grendelman
Hi puppeteers, In the function reference [1], I found a 'split' function for splitting a string into an array, but not a 'join' function for joining an array into a string. Why not? :) I have a list of IP addresses, that I use with ssh_authorized_key to restrict access. The list is now simply a c

[Puppet Users] Re: Redefine package type

2010-09-09 Thread alcy
You can do both. As an introductory tutorial, have a look at http://www.kartar.net/2010/02/puppet-types-and-providers-are-easy/ and, more information at http://docs.puppetlabs.com/#extending_puppet On Sep 9, 1:27 pm, SiD wrote: > Thanks for your quick answer. > I've already analysed the code, bu

[Puppet Users] Re: Redefine package type

2010-09-09 Thread SiD
Thanks for your quick answer. I've already analysed the code, but it does not really help me. Do I need to write a new provider in Ruby, or can I override the original one ? Thanks again ! On Sep 8, 10:45 am, mohit chawla wrote: > You can probably start by looking at the code for the various > t

Re: [Puppet Users] Resources on Windows

2010-09-09 Thread William Van Hevelingen
Hi Patrick, On Wed, Sep 8, 2010 at 11:10 PM, Patrick wrote: > I was going to try puppet on Windows and was wondering if anyone has advice > before I start. I found > http://projects.reductivelabs.com/projects/puppet/wiki/Puppet_Windows I attempted to get puppet running on windows about a week