[Puppet Users] Puppet Dashboard error.

2010-05-22 Thread Marley Bacelar
Hi i have the running i both sides, client and server sides the puppet 0.25.4 Get this error on server side: puppetmasterd[5363]: Report puppet_dashboard failed: wrong Content-Length format And receive this error on my client side: warning: Value of 'preferred_serialization_format' (pson) is inv

Re: [Puppet Users] Re: Best-practice way of handling IP addresses

2010-05-22 Thread Patrick
It's usually much easier to use DHCP for desktops, and some servers. Also, the computer will (usually) need an ip address before the first puppet run. On May 22, 2010, at 1:59 PM, andreash wrote: > Hi, > > thanks for your input. I had already thought about that, but initially > wanted to be ab

Re: [Puppet Users] Default value for arguments of a definition

2010-05-22 Thread Dan Bode
On Sat, May 22, 2010 at 2:12 PM, mathie wrote: > For example, I'm trying to define a function to setup the firewall > config > > define fnConfig($pInterface,$pPorts) { > file { "/etc/apf/conf.apf": >content => template("apf.conf.erb"), >notify => Service["apf"], > } > } > > However, if

[Puppet Users] Default value for arguments of a definition

2010-05-22 Thread mathie
For example, I'm trying to define a function to setup the firewall config define fnConfig($pInterface,$pPorts) { file { "/etc/apf/conf.apf": content => template("apf.conf.erb"), notify => Service["apf"], } } However, if I don't specify anything, I would like it to automatically set $p

[Puppet Users] Re: Best-practice way of handling IP addresses

2010-05-22 Thread andreash
Hi, thanks for your input. I had already thought about that, but initially wanted to be able to set the ip addresses using puppet. Or is that a bad idea? Cheers, Andreas. On 22 Mai, 20:42, Benoit Cattié wrote: > Hi, > > You can get the ipadress with facter (and use it in your puppet classes, >

Re: [Puppet Users] Best-practice way of handling IP addresses

2010-05-22 Thread Benoit Cattié
Hi, You can get the ipadress with facter (and use it in your puppet classes, templates ...) Benoit Le 22/05/2010 11:08, andreash a écrit : Hi, naturally, there are many places in a typical puppet manifest where one needs to use IP addresses: * network config * Listen directives in server d

Re: [Puppet Users] parsing puppet YAML

2010-05-22 Thread Nigel Kersten
On Fri, May 21, 2010 at 9:44 PM, Baker, Luke Jefferson wrote: > Hey there, > > > > I’ve playing with parsing some of the yaml data that puppet creates. Has > anyone had luck doing this with python or the like? It seems that in every > yaml file, there is a comment at the top of the file like thi

Re: [Puppet Users] is anyone using a tool to diagram their manifests?

2010-05-22 Thread Trevor Vaughan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Well, it turns out that 0.25 completely broke my code (no big surprise). I was using the 'classes' method off of the parser, but I'll have to re-write it all now since the parser appears to have been heavily modified.. Basically, it just used the pup

Re: [Puppet Users] parsing puppet YAML

2010-05-22 Thread Nigel Kersten
You can load it in Python, you just need to do a bit more extra work first. I can get you an example on Monday or whenever Comcast fix my home internet connection... On Sat, May 22, 2010 at 12:43 AM, Ohad Levy wrote: > Hi Luke, > > Thats a dump of a ruby object in yaml, meaning that if you woul

[Puppet Users] Meet Luke in London

2010-05-22 Thread R.I.Pienaar
Hello, Luke will be in london on Monday so a great chance for a meet. We'll meet after 6:30 at http://www.viewlondon.co.uk/pubsandbars/de-hems-review-11170.html If there are any London Puppet people who dont know or arent on the list for the London Devops group you should sign up to that as we

[Puppet Users] Best-practice way of handling IP addresses

2010-05-22 Thread andreash
Hi, naturally, there are many places in a typical puppet manifest where one needs to use IP addresses: * network config * Listen directives in server daemons * hosts file * ... I was wondering if there is some 'best practice' way of specifying the IP addresses of all the hosts in one place and t

Re: [Puppet Users] parsing puppet YAML

2010-05-22 Thread Ohad Levy
Hi Luke, Thats a dump of a ruby object in yaml, meaning that if you would like to restore the object (and its methods) you would need to run it in ruby and load the puppet libraries. what are you trying to achieve? there are a few examples out there already. Ohad On Sat, May 22, 2010 at 12:44 P