Configuring puppet third party modules -
i creating masterless provisioning puppet. have installed third party module alongside custom module called my_module:
puppet module install maestrodev/rvm
now in modulepath i've got following:
my_module rvm some_dependencies
after gets interesting. want configure module per puppetforge documentation.
the question put newly created configuration?
in my_module/tests/init.pp file? in kind of overriding module?
please forgive me noob question, i've searched documentation particular scenario pretty hard , couldn't find anything.
if going create set of pp files, given in documentation, it's suggested put them in single directory (named "manifest" convention) when run puppet "apply" command on directory, puppet parse pp files in alphabetical order , execute them
ex: puppet apply /etc/.../puppet/manifests
for execution of single file:
puppet apply /etc/.../puppet/manifests/johndoe.pp
reference: http://docs.puppetlabs.com/puppet/latest/reference/dirs_manifest.html
Comments
Post a Comment