Oh and read the New user manifest tips. It's a thread on the list currently (aka work in progress) but it should give you a heads-up for common rookie mistakes.

Silviu


Andre Timmermann wrote:
Hi Silviu

Am Freitag, den 15.01.2010, 03:31 +0200 schrieb Silviu Paragina:
You should use modules, they get the stuff more organized, not a spinning vortex of files, templates, manifests and plugins. :-)

hehe ;)

http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation - this documentation is a tad old, but the only thing different now is that you should use lib instead of plugins (if you will need those) in the directory structure.

If you use templates use the template function not the file function. But I don't know why you would have a template instead of a file in this case

Yes, the file() was just one try. I am using the templates function. And
I wrote my own function which chomps the newline.

All in all it not very easy to build modules which reflect an existing
infrastructure. For example if you have apache installed, then you may
wand a monit-configuration too. But puppet is not designed to detect if
apache is installed, it will install apache itslef and then
automatically monit.

So I have to start with some basic things which are common on all
machines (>500).

Thank you for your help, i am sure, i will ask more advanced questions
in future ;)


-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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