[Puppet Users] Puppet Continuous Integration - your help needed

2008-12-01 Thread James Turnbull
Hi all We're implementing a Hudson Continuous Integration server for Puppet and Facter. The CI server will monitor the current development repositories - currently 0.24.x and master. When new commits are detected it will run the unit and rspec tests on build slaves. Why all this? Well as Pupp

[Puppet Users] Re: [Puppet-dev] Puppet Inside Information

2008-12-01 Thread James Turnbull
[EMAIL PROTECTED] wrote: > Hi All, > > I want some important information for which I searched every where > and I'm not able to get > Please be patience and plzz get me this information. as I told you > I have searched in many blogs, google groups.. and even in reductive > labs for thi

[Puppet Users] Non-Scalar Facts

2008-12-01 Thread Kristian Köhntopp
Checking the wiki and the examples, all facts are always scalars. http://reductivelabs.com/trac/puppet/wiki/Recipes/NetworksFactsRecipe uses numbers in scalars with the same base name, which is broken. http://reductivelabs.com/trac/puppet/wiki/Recipes/UserFact stores the usernames array as a com

[Puppet Users] Puppet Inside Information

2008-12-01 Thread [EMAIL PROTECTED]
Hi All, I want some important information for which I searched every where and I'm not able to get Please be patience and plzz get me this information. as I told you I have searched in many blogs, google groups.. and even in reductive labs for this It would be great if you provide

[Puppet Users] Re: configuring puppet to run custom facts

2008-12-01 Thread Arnau Bria
On Mon, 1 Dec 2008 14:19:19 -0800 (PST) Mark Drayton wrote: > > Hi Hi Mark, > That's correct. When you run facter on the command line it doesn't > include facts in Puppet's factpath. I use Puppet to export the > following to all hosts so command-line facter picks up my facts: > > [EMAIL PROTE

[Puppet Users] Re: configuring puppet to run custom facts

2008-12-01 Thread Mark Drayton
Hi On Dec 1, 10:14 am, Arnau Bria <[EMAIL PROTECTED]> wrote: > Then I restart master and client but I can't see my own fact: > > [EMAIL PROTECTED] ~]# facter primaryint > [EMAIL PROTECTED] ~]# > > it's copied in client /var/lib/puppet/lib/facter/primaryint.rb > > But, if I export RUBYLIB to /var/

[Puppet Users] configuring puppet to run custom facts

2008-12-01 Thread Arnau Bria
Hi, I'm following http://reductivelabs.com/trac/puppet/wiki/PluginsInModules in order to use a custom fact. My modules looks like: # ls manifests/modules/network/ manifests plugins # ls manifests/modules/network/plugins/facter/primaryint.rb manifests/modules/network/plugins/facter/primaryint.

[Puppet Users] Re: fileserving, puppet:// urls and modules

2008-12-01 Thread kevin
On Dec 1, 4:40 am, "Bjørn Dyre Dyresen" <[EMAIL PROTECTED]> wrote: > 2008/12/1 kevin <[EMAIL PROTECTED]> > > > > > So, I have some files that I would like to have the puppetd's pull > > from the master.  I've written the modules to include a files > > directory.  Now, from the module specs , doe

[Puppet Users] Re: doing executions inside var

2008-12-01 Thread Arnau Bria
On Fri, Nov 28, 2008 at 9:33 PM, Mark Drayton <[EMAIL PROTECTED]> wrote: > > Hi Hi, [...] thanks you very much. > > Follow the instructions at > http://reductivelabs.com/trac/puppet/wiki/AddingFacts > to distribute facts to your clients. http://reductivelabs.com/trac/puppet/wiki/PluginsInModu

[Puppet Users] Re: fileserving, puppet:// urls and modules

2008-12-01 Thread Bjørn Dyre Dyresen
2008/12/1 kevin <[EMAIL PROTECTED]> > > So, I have some files that I would like to have the puppetd's pull > from the master. I've written the modules to include a files > directory. Now, from the module specs , does this mean that i can > say > { > ... > > source => puppet://files/file.name > >

[Puppet Users] Re: fileserving, puppet:// urls and modules

2008-12-01 Thread paul matthews
Hi, If you have the files in a directory called files under a directory called after the module name eg. /var/puppet/modules/automount/files/auto.master then the URI would be of the form source => puppet://servername/automount/auto.master in order to pull the file across Cheers Paul 2008/12/

[Puppet Users] fileserving, puppet:// urls and modules

2008-12-01 Thread kevin
So, I have some files that I would like to have the puppetd's pull from the master. I've written the modules to include a files directory. Now, from the module specs , does this mean that i can say { ... source => puppet://files/file.name } ? --~--~-~--~~~---~--~--

[Puppet Users] Re: Pulseaudio cookie distribution with puppet

2008-12-01 Thread Maciej Bliziński
On Nov 17, 10:51 pm, Peter Meier <[EMAIL PROTECTED]> wrote: > file{'/path/to/cookie': >     source => "puppet:///path/on/server/to/cookie", >     [...], >     notify => Service['pulseaudio-server'], > > } > > service{'pulseaudio-server': >     [...] > > } > > will only restart the pulseaudio-serve

[Puppet Users] How best to distribute version-controlled information to clients?

2008-12-01 Thread Simon J Mudd
We're looking to distribute version controlled scripts to various clients. These scripts are current maintained in systems like cvs, git and subversion. What's the best way to distribute this using puppet? There are 2 alternative requirements and in our case it may depend on the type of files bei