Tim Uckun wrote:
>> Try some of the tips at:
>>
>> http://reductivelabs.com/trac/puppet/wiki/PuppetVersionControl
>>
> 
> One thing you should be careful of is that the syntax check will not
> catch all mistakes. For example let's say you have an entry like this.
......
> This code will actually run through your config and generate a catalog
> for each of my nodes.  I find this check to be more thorough but it
> could take a while if you have a lot of nodes so you might want to
> modify it to only check the set you have worked on.
Great suggestion thanks; we have a slightly different way to generate the list 
of servers, but the concept is sound. 
Just a couple of notes for anyone who might try this in Debian, with 0.25:

1) The "puppetmasterd --compile" has to run as the puppet user.  It's something 
to do with how all the defaults use 
"service" instead of "puppet" to represent the user/group that the process is 
actually running as.   I use "su", having 
changed the shell for the puppet user to /bin/bash.

2) You'll need the JSON library package (libjson-ruby1.8 in etch at least).

-- 
Craig Miskell
Senior Systems Administrator
Opus International Consultants
Government's view of the economy should be summed up in a few short phrases: If 
it moves, tax it. If it keeps moving, 
regulate it. If it stops moving, subsidize it.
Ronald Reagan (1986)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to