[Puppet Users] Re: Using variables in virtual resources

2009-09-29 Thread Bjørn Dyre Dyresen
Hi, there Im looking into the same thing. Did you come up with a decent solution? Regards Bjørn Dyresen 2009/9/28 Eric Gerlach > > On Fri, Sep 18, 2009 at 09:08:37AM +0200, Kenneth Holter wrote: > > Hi. > > > > > > I've defined a virtual user "kenneth", and depending on a variable in the > > n

[Puppet Users] Re: Resource ordering

2009-07-17 Thread Bjørn Dyre Dyresen
2009/7/17 Burkholder, Peter > > I just finished listening to the Configuration Management panel from > OSBridge (on blip.tv). > > Near the end of it, Adam Jacob states that Puppet's resource dependency > ordering is non-deterministic, > and that manifests that work fine 19 times will fail the 20t

[Puppet Users] Re: Puppet + Mongrel on Ubuntu Hardy

2009-07-16 Thread Bjørn Dyre Dyresen
In my initscript on ubuntu hardy running puppet with mongrel I use: for argument in "$port1" "$port2" "$port3" "$port4" "$port5" "$port6" do puppetmasterd \ --pidfile=/var/run/puppetmasterd/puppetmasterd."${argument}".pid \ --servertype=mongrel \

[Puppet Users] Re: set password of root

2009-05-06 Thread Bjørn Dyre Dyresen
2009/5/6 Chad Huneycutt > > I have a couple of concerns about this (at least in my environment). > First, the root password would be clearly visible (not even crypted!) > In the process listing during execution of the usermod. Second, > similarly, the root password is stored in plaintext on the >

[Puppet Users] Re: Puppet on VMware ESX

2009-04-27 Thread Bjørn Dyre Dyresen
Would you mind sharing a manifest showing how you are doing this? Regards 2009/4/25 dane foster > You can create snapshots via either the perl vi api, or the rcli tools. > We're using puppet to call the perl api and provision guests within ESXi, > works a treat. > /dane > > > On Apr 25, 2009,

[Puppet Users] Re: Should we really expect puppetd to die randomly? (Was: Puppet watching puppet)

2009-04-21 Thread Bjørn Dyre Dyresen
We had this problem when we hit the scaling wall running webrick. We then moved our puppetmaster to a beefy server (dual quadcore with 16 GB ram). Here we run six puppetmasterds with mongrel and stored config. On the same server we run nginx. With this setup we can loop over a lot of servers restar

[Puppet Users] Re: Installing crontabs and syncing files to temporary location

2009-04-17 Thread Bjørn Dyre Dyresen
What about something like this. file { "/tmp/your_crontab_file": ensure => present, source => your_source, before => Correct_crontab['ensure_correct_cron'] } correct_crontab { "ensure_correct_crontab": } define correct_crontab { exec { "command you want to run": path ["

[Puppet Users] Re: module organisation advice

2009-04-03 Thread Bjørn Dyre Dyresen
2009/4/3 Rene > > Hi > > Our team is providing Linux servers to different departments in our > company. We want to change our configuration management tool and use > puppet in the future. I read the book “Pulling Strings with Puppet” > and the documentation on the puppet webpage. > > When I under

[Puppet Users] Re: ERB docs...

2009-04-01 Thread Bjørn Dyre Dyresen
2009/4/1 Craig Dunn > > > > Hi All, > > I'm struggling to find any decent documentation on ERB templating - > theres some limited summaries on puppets' site but I need something a > bit more in depth that covers things like arrays, for loops...etc > > Is there anything out there that might help?

[Puppet Users] Re: Connection timeout calling fileserver.describe: socket read timeout

2009-03-02 Thread Bjørn Dyre Dyresen
2009/3/2 Arnau Bria > > On Mon, 02 Mar 2009 10:20:30 -0500 > Frank Sweetser wrote: > > Hi Frank, > > > Do you have SELinux enabled? If so, you may be running into this > > issue: > > > > http://projects.reductivelabs.com/issues/1963 > > > > Note that this isn't caused by SELinux blocking anythin

[Puppet Users] Re: management of files in a directory i already deployed in same class

2009-02-26 Thread Bjørn Dyre Dyresen
2009/2/27 Bjørn Dyresen > > On Feb 27, 2009, at 4:00 AM, hOOlä'gOO khän wrote: > > >> here's most of my class, if I comment out the bottom 3 clauses , the 3 >> key files get copied. otherwise it doesn't get copied. what am i >> doing wrong ? >> >> class openvpn { >> file {"/etc/openvpn/key

[Puppet Users] Re: Puppet Proposal (what problems will puppet solve)

2009-02-03 Thread Bjørn Dyre Dyresen
2009/2/2 Zach Buckholz > > This may sound like a confusing / trick question, so please bare with me. > > What problem(s) will puppet solve? Why would I use it? > > I am trying to pitch the use of puppet in our environment and need to > follow a formal proposal model. Which means I need to start w

[Puppet Users] Re: Editors for .pp files

2009-01-16 Thread Bjørn Dyre Dyresen
Vim all the way here. SVN from the CLI yes. Less is more. Regards. 2009/1/15 Matt Marshall > This may be an odd question, but what does everyone use for an editor for > the versioned puppet configs. Does everyone stick with vi or emacs and use > the commandline svn tools? Or does anyone use ec

[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: Can I store my configuration files in subversion or git and have puppet manage them?

2008-11-29 Thread Bjørn Dyre Dyresen
Yes, with puppet you have a declarative language enabling you to do much more than just storing config files in a version control system. The way people do it around here is storing the code they write in puppets language in a version control system, just like they would store any other source cod

[Puppet Users] Re: Can I store my configuration files in subversion or git and have puppet manage them?

2008-11-27 Thread Bjørn Dyre Dyresen
Sure, you can have the puppet clients pull config files from the master. This is the primary purpose of a configuration management system. Having puppet pull stuff from subversion is also possible, if that is what you prefer, but a method I would go by. What we do is having all our puppet configura

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

2008-11-03 Thread Bjørn Dyre Dyresen
Yes, Ill be at LISA. Would be great to meet other puppet users there. Best Regards Bjørn Dyresen Simula Research Laboratory 2008/11/3 Juri Rischel Jensen <[EMAIL PROTECTED]> > > Hi All > > Luke and I are attending LISA08 in San Diego next week. Are there any > other Puppeteers who are attendi

[Puppet Users] Re: Getting started.. quick start guide?

2008-09-16 Thread Bjørn Dyre Dyresen
I recommend getting the book "pulling strings with puppet" It is well laid out and will teach you what you need to know in a rapid fashion with clear and easy to understand examples. The other thing is you have to ask your self what you want puppet to manage. Do you want puppet to manage a nfs se

[Puppet Users] Re: Ensuring a process is NOT running

2008-09-10 Thread Bjørn Dyre Dyresen
You can use ensure => stopped to ensure it is not running. Regards 2008/9/10 Jewels <[EMAIL PROTECTED]> > > Hi, > > here is an interesting problem. I don't want to remove sendmail from a > system, BUT, it should never be running unless an admin starts it (and > shuts it down) so I was wondering