1
vote
1answer
157 views

Will passing an array as a value in puppet install my package?

I'm working through the puppet documentation. One of the exercises is to use some conditional logic to write a general install manifest: Exercise: Use the $operatingsystem fact to write a manifest ...
1
vote
1answer
53 views

puppet array format

Is it possible to define an array in this format in my nodes.pp? $servers = [ { name => 'felix', ip => '192.168.43.5', env => 'prod', }, { name ...
1
vote
2answers
956 views

Puppet: more than one array passed to a definition?

I can understand according to http://docs.puppetlabs.com/guides/language_guide.html that I can pass an array to a definition. define php::pear() { package { "`php-${name}": ensure => ...