Created
February 2, 2013 20:30
-
-
Save jrmoserbaltimore/4699125 to your computer and use it in GitHub Desktop.
This shit doesn't work
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
--- | |
classes: | |
- puppet | |
puppet::servername: 'hq-ext-puppet.sbgnet.com' | |
puppet::repository: 'puppetlabs' | |
puppet::environment: 'dmz' | |
puppet::environments: | |
- 'dmz' |
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 puppet( | |
$servername, | |
$server = $puppet::params::server, | |
$environment = $puppet::params::environment, | |
$environments = $puppet::params::environments, | |
$daemon = $puppet::params::daemon, | |
$repository = $puppet::params::repository, | |
) inherits puppet::params { | |
if ( $servername == '' ) { | |
fail('Must set servername => puppetmaster.example.com') | |
} | |
... | |
} |
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
node 'puppetmaster' { | |
hiera_include('classes') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment