module - puppet understanding parameters class -


i new in puppet. have puppet basic infrastructure. installed

puppetforge "example42/lighttpd"

i able deploy class without problem puppet controlled node. problem now,.how can use parameters in class? not understood can activate parameters.i deploy lighttpd customized index.html , different log file path.i hope u can give me hind :)

in file params.pp

this class not intended used directly. may imported or inherited other classes 

but how can imported this??

first off, straight started puppet, should take @ documentation module in question (ie. readme, readme.md, etc.). next, understand params pattern. params class in puppet module class contains no resources, , meant hold default data module (data not supplied outside sources hiera). of time see this:

inherits lighttpd::param

in init, or manifest file in module. because inheriting values params class.

hope helped @ least little bit.


Comments