Created
May 30, 2013 14:59
-
-
Save ume3/5678520 to your computer and use it in GitHub Desktop.
pupppet manifest example modules::apache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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