-
-
Save ksexton/4488741 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# in /etc/puppet/hieradata/ | |
--- | |
someclass::setting1: 'blah' | |
someclass::another_setting: 1234 | |
someclass::array_setting: | |
- 'oneval' | |
- 'twoval' | |
- 'redval' | |
- 'blueval' |
This file contains hidden or 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
--- | |
:hierarchy: | |
- %{network_eth0} | |
- common | |
:backends: | |
- yaml | |
:yaml: | |
:datadir: '/etc/puppet/hieradata' |
This file contains hidden or 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 someclass( | |
$setting1 = 'sane_default', | |
$another_setting = 'also sane default', | |
$array_setting = [], | |
) { | |
#puppet code using those variables... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment