Skip to content

Instantly share code, notes, and snippets.

@ume3
Created May 30, 2013 14:59
Show Gist options
  • Save ume3/5678520 to your computer and use it in GitHub Desktop.
Save ume3/5678520 to your computer and use it in GitHub Desktop.
pupppet manifest example modules::apache
class apache::params {
$package = 'httpd'
$package_devel = 'httpd-devel'
}
class apache(
$package = $apache::params::package,
$package_devel = $apache::params::package_devel,
) inherits apache::params {
#notify {"test: $package":}
#notify {"test: $package_devel":}
package { 'httpd':
name => $package,
}
package { 'httpd-devel':
name => $package_devel,
require => Package["$package"],
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment