Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Puppet Definition for perl module packages
So first I create a definition in a manifest called perl_modules.pp in the root of my module like this:
define radiator::perl_modules() {
package { "perl-$name": ensure => 'installed', before => Package['Radiator'] }
Then call the definition in packages.pp
class radiator::packages {
package { 'Radiator': }
radiator::perl_modules {
[ 'DBD-MySQL',
'libwww-perl' ]:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.