Re: [Puppet Users] Developing functions

2010-11-30 Thread Roy Nielsen
Hello, You also have to put the function in the right place on the server, not just in: modules/mymodule/lib/puppet/parser/functions/ Try putting it in: /var/puppet/lib/puppet/parser/functions/ as well. At least this is what was required in 0.25.1 :) Regards, -Roy On 11/30/10 6:43 AM, Ma

Re: [Puppet Users] puppet meet-up in Vienna?

2010-11-30 Thread James Turnbull
Yushu Yao wrote: > Wow, Portland is nice, but pretty far away. > > We should organize a meet-up of Puppet Users/Developers near Silicon > Valley :-) > > Anyone interested? Something like this? :) http://www.meetup.com/SiPMUG/calendar/15583720/ Regards James Turnbull -- Puppet Labs - http://

Re: [Puppet Users] Propagating local config changes from a client to the puppetmaster

2010-11-30 Thread Daniel Pittman
gdb writes: > I'm using puppet with a centralized puppetmaster pushing config to many > client nodes. Most of the configuration files that puppet manages are > static and served via the puppet fileserver (running on the puppetmaster). > I often find myself making changes to a node's config file,

Re: [Puppet Users] puppet meet-up in Vienna?

2010-11-30 Thread Dan Bode
On Tue, Nov 30, 2010 at 3:02 PM, Benjamin Kite wrote: > On Tue, Nov 30, 2010 at 4:52 PM, Dan Bode wrote: > > Hi, > > > > Anyone have interest in a puppet meet-up in Vienna? I will be in the area > > for the holidays and would love to meet up with local puppet users to > chat > > about Puppet/Lin

Re: [Puppet Users] puppet meet-up in Vienna?

2010-11-30 Thread Benjamin Kite
On Tue, Nov 30, 2010 at 4:52 PM, Dan Bode wrote: > Hi, > > Anyone have interest in a puppet meet-up in Vienna? I will be in the area > for the holidays and would love to meet up with local puppet users to chat > about Puppet/Linux and such. I am thinking about the 20th of December. > Vienna, Virg

Re: [Puppet Users] puppet meet-up in Vienna?

2010-11-30 Thread Yushu Yao
Wow, Portland is nice, but pretty far away. We should organize a meet-up of Puppet Users/Developers near Silicon Valley :-) Anyone interested? -Yushu +-+ | Yushu Yao | Ph:1-510-486-4690 | | Lawrence Berkeley National Lab | Mailstop 50B-6222 | 1 Cy

Re: [Puppet Users] puppet meet-up in Vienna?

2010-11-30 Thread James Turnbull
Dan Bode wrote: > > > On Tue, Nov 30, 2010 at 1:57 PM, Yushu Yao > wrote: > > A non-technical and non-related question: > > Where are most of the puppet developers based? I.e. where is the > headquarter of Puppet? > > > The employees are based out of P

Re: [Puppet Users] puppet meet-up in Vienna?

2010-11-30 Thread Dan Bode
On Tue, Nov 30, 2010 at 1:57 PM, Yushu Yao wrote: > A non-technical and non-related question: > > Where are most of the puppet developers based? I.e. where is the > headquarter of Puppet? > The employees are based out of Portland, Oregon Community members/contributors are spread throughout the

[Puppet Users] Number of procs

2010-11-30 Thread maillists0
We upgraded to 2.6.3 and we've suddenly noticed two and sometimes three puppet processes running. They certainly look like forks... one process always has a long running time, while the others are short and disappear quickly. Is this normal? Is it new to this version or are we just noticing it for

Re: [Puppet Users] puppet meet-up in Vienna?

2010-11-30 Thread Yushu Yao
A non-technical and non-related question: Where are most of the puppet developers based? I.e. where is the headquarter of Puppet? -Yushu On Tue, Nov 30, 2010 at 1:52 PM, Dan Bode wrote: > Hi, > > Anyone have interest in a puppet meet-up in Vienna? I will be in the area > for the holidays and

Re: [Puppet Users] allowcdrom

2010-11-30 Thread Nan Liu
On Tue, Nov 30, 2010 at 8:30 AM, dragonfly wrote: > Hi, I am a new Puppet user and I have the following question.  On > Debian I created the following recipe: > > class ntpdate { > >        package { ["ntpdate"]: >                ensure => installed > } > > } > > > However, I had forgotten that my

[Puppet Users] puppet meet-up in Vienna?

2010-11-30 Thread Dan Bode
Hi, Anyone have interest in a puppet meet-up in Vienna? I will be in the area for the holidays and would love to meet up with local puppet users to chat about Puppet/Linux and such. I am thinking about the 20th of December. regards, -Dan Bode -- You received this message because you are subscr

[Puppet Users] Re: DEPRECATION WARNING

2010-11-30 Thread CraftyTech
I've downgraded down all the day to 2.2.3, and I'm still getting the messages: DEPRECATION WARNING: metaclass is deprecated and will be removed from Rails 2.3 (use singleton_class instead). (called from meta_eval at / usr/lib/ruby/site_ruby/1.8/puppet/util/metaid.rb:4) i.e, gem list rails *** LO

[Puppet Users] Hashes in a definition

2010-11-30 Thread Jay Almers
Hello all, I am a new user to Puppet (system and language) and have a question regarding hashes and iterating through them in a definition. What I am trying to do is specify a multi-dimensional hash on a particular node, pass this hash to a define, and recursively do "stuff" using the key/value p

Re: [Puppet Users] puppet 2.6.3 (kick.rb) error after install

2010-11-30 Thread Nigel Kersten
On Tue, Nov 30, 2010 at 11:54 AM, monte wrote: > Hello, I've just installed Ruby, Facter and Puppet from source > (versions listed below) and am getting the following error, when > trying to run Puppet 2.6.3: > > [r...@localhost puppet]# ruby --version > ruby 1.9.2p0 (2010-08-18 revision 29036) [i

[Puppet Users] puppet 2.6.3 (kick.rb) error after install

2010-11-30 Thread monte
Hello, I've just installed Ruby, Facter and Puppet from source (versions listed below) and am getting the following error, when trying to run Puppet 2.6.3: [r...@localhost puppet]# ruby --version ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux] [r...@localhost puppet]# ruby -ropenssl -e "puts

[Puppet Users] Re: Puppet-dashboard ActiveRecord::Base (nil object)

2010-11-30 Thread Forrie
This appears to be a problem with data that got stored in the database during the migration as I was able to duplicate the error on a fresh installation of 1.0.4. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email

[Puppet Users] Puppet-dashboard ActiveRecord::Base (nil object)

2010-11-30 Thread Forrie
I found a bug from April of 2010 referencing this, though I would imagine this should be fixed by now. I'm having this problem with 1.0.4 after the upgrade. I'm going to start all over again and see if I can repeat the error; however, is this still a bug or did I mess up the installation I have?

Re: [Puppet Users] Depending on a class from a class?

2010-11-30 Thread Eric Sorenson
On Nov 30, 2010, at 7:03 AM, Daniel Piddock wrote: > Is there any way for a class to depend on another class or for the > include statement to act more like a require? Two things here: If you're on 2.6.3 put your repositories class in a 'pre' stage, that way you eliminate putting an individual

Re: [Puppet Users] Depending on a class from a class?

2010-11-30 Thread Patrick
On Nov 30, 2010, at 7:03 AM, Daniel Piddock wrote: > Hello, > > I fear that I have done something stupid in my manifests that requires > a redesign. To take an example: > > I have the global statement: > Package { > ensure => latest, > require => Class['repositories'], > } > > I then have a

Re: [Puppet Users] Propagating local config changes from a client to the puppetmaster

2010-11-30 Thread Matt Wallace
On Tuesday 30 Nov 2010 12:58:33 gdb wrote: > Hi, > > I'm using puppet with a centralized puppetmaster pushing config to > many client nodes. Most of the configuration files that puppet > manages are static and served via the puppet fileserver (running on > the puppetmaster). I often find myself

[Puppet Users] Depending on a class from a class?

2010-11-30 Thread Daniel Piddock
Hello, I fear that I have done something stupid in my manifests that requires a redesign. To take an example: I have the global statement: Package { ensure => latest, require => Class['repositories'], } I then have a repositories module with init.pp containing: class repositories { case $

[Puppet Users] Propagating local config changes from a client to the puppetmaster

2010-11-30 Thread gdb
Hi, I'm using puppet with a centralized puppetmaster pushing config to many client nodes. Most of the configuration files that puppet manages are static and served via the puppet fileserver (running on the puppetmaster). I often find myself making changes to a node's config file, testing those c

[Puppet Users] allowcdrom

2010-11-30 Thread dragonfly
Hi, I am a new Puppet user and I have the following question. On Debian I created the following recipe: class ntpdate { package { ["ntpdate"]: ensure => installed } } However, I had forgotten that my sources.list contained a reference to the cdrom, so it failed. Rathe

Re: [Puppet Users] Re: Puppet replaces deleted files

2010-11-30 Thread Patrick
On Nov 30, 2010, at 5:25 AM, Os wrote: >> As in using your operating systems package management. If you're running >> Debian/Ubuntu that'll be a .deb, if you're using RedHat/CentOS/Fedora >> that'll be a .rpm. > > Thanks for the advice, thats something I did not think about but > absolutly solv

[Puppet Users] Re: Managing a "complex" directory structure

2010-11-30 Thread jcbollinger
On Nov 29, 6:15 pm, Lars Francke wrote: > This is the part I don't understand. The more verbose I've been the > more errors I got because of duplicate definitions etc. Which only > supports the point that I still don't "get" the Puppet model :) Wrapping up a bunch of things in a define may red

[Puppet Users] Re: How to handle runlevel with puppet?

2010-11-30 Thread jcbollinger
On Nov 30, 2:37 am, Adriana wrote: > Hello, > I am testing puppet in order to see if it suits the needs of my > system. > I would like to specify the runlevel of a service the same way I would > do when doing > /sbin/chkconfig --level 2345 ntpd on . > I have understood that the "enable=>true" is

[Puppet Users] Developing functions

2010-11-30 Thread Martijn Grendelman
Hi, Today, while working on some functions in Puppet, I got back lots of unexpected results. Lots of times, it seemed like my changes in the code were not picked up when I re-ran the test-classes. Even functions that I removed from the code, after using them once or so, kept working after removal

[Puppet Users] Re: Puppet replaces deleted files

2010-11-30 Thread Os
> As in using your operating systems package management.  If you're running > Debian/Ubuntu that'll be a .deb, if you're using RedHat/CentOS/Fedora > that'll be a .rpm. Thanks for the advice, thats something I did not think about but absolutly solves my problem! Although I am a bit confused about

Re: [Puppet Users] How to apply recursion to user, group and mode?

2010-11-30 Thread Peter Meier
On 11/30/2010 09:41 AM, Adriana wrote: > Hello, I would like to know it is possible to translate for example > the command > chmod -R 0777 /local. > As far as I know, I can write: > file { "/local": > mode => 0777, > recurse => true, > ensure => directory; > } > > but it does not

Re: [Puppet Users] Combine multiple CA certificates into a bundle

2010-11-30 Thread Alan Barrett
On Tue, 30 Nov 2010, Ohad Levy wrote: > I think you are facing https://projects.puppetlabs.com/issues/3640#note-11 > > which would hopefully > be resolved in https://projects.puppetlabs.com/issues/3770. > > I must admit that I did not have time

[Puppet Users] How to apply recursion to user, group and mode?

2010-11-30 Thread Adriana
Hello, I would like to know it is possible to translate for example the command chmod -R 0777 /local. As far as I know, I can write: file { "/local": mode => 0777, recurse => true, ensure => directory; } but it does not apply the mode to all the /local subdirectories. Is there a

[Puppet Users] How to apply recursion to user, group and mode?

2010-11-30 Thread Adriana
Hello, I would like to know it is possible to translate for example the command chmod -R 0777 /local. As far as I know, I can write: file { "/local": mode => 0777, recurse => true, -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To pos

[Puppet Users] How to handle runlevel with puppet?

2010-11-30 Thread Adriana
Hello, I am testing puppet in order to see if it suits the needs of my system. I would like to specify the runlevel of a service the same way I would do when doing /sbin/chkconfig --level 2345 ntpd on . I have understood that the "enable=>true" is equivalent to the chckconfig ntpd on but, how can I