Richard Fussenegger
2014-Feb-26 09:56 UTC
[Puppet Users] Hiera to define an array of packages that should be installed
Right now my init.pp contains the following code block: package { [ 'package-1', 'package-2', '...' ]: ensure => 'present', require => *Exec*['apt_update'], } This works great — no problem there — but I'd love to use a single init.ppfor production and development and control the behavior of everything via my Hiera files. This would also allow me to exchange some packages depending on the operating system without writing modules for simple package installations. I tried a few things and searched for answers; without luck. Maybe you guys have an idea on how to solve this. Regards Richard -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/8e7e2a29-287a-4f2b-b1e3-dcb673ec497f%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.