Created
August 8, 2013 19:52
-
-
Save supercow/6188083 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
--- | |
parent::params: | |
- example1 | |
- example2 |
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
--- | |
:backends: | |
- yaml | |
:hierarchy: | |
- %{fqdn} | |
- common | |
: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
# in /etc/puppet/modules/parent/manifests | |
class parent{ | |
$params = hiera_array('parent::params', ['example1','example2']) | |
} |
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
--- | |
parent::params: | |
- example2 | |
- example3 |
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
node node1 { | |
include parent | |
} | |
node node2 { | |
include parent | |
} | |
node node3 { | |
include parent | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment