Created
December 14, 2015 23:37
-
-
Save robinbowes/6cdff082a41a73abdcde to your computer and use it in GitHub Desktop.
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
cat /etc/puppet/hieradata/node/lin002.yo61.net.yaml | |
--- | |
ssh.server.port: 20542 |
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
[root@lin002 ~]# puppet agent --test | |
Info: Retrieving pluginfacts | |
Info: Retrieving plugin | |
Info: Loading facts | |
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find data item ssh.server.port in any Hiera data file and no default supplied at /etc/puppet/environments/production/modules/profile_ssh/manifests/server.pp:4 on node lin002.yo61.net | |
Warning: Not using cache on failed catalog | |
Error: Could not retrieve catalog; skipping run |
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
--- | |
:backends: | |
- yaml | |
:logger: console | |
:hierarchy: | |
- "node/%{::clientcert}" | |
- "environment/%{::environment}" | |
- common | |
:yaml: | |
:datadir: /etc/puppet/hieradata |
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
# tree /etc/puppet/hieradata | |
/etc/puppet/hieradata | |
├── common.yaml | |
├── environment | |
│ └── production.yaml | |
└── node | |
└── lin002.yo61.net.yaml |
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
[master] | |
storeconfigs = true | |
storeconfigs_backend = puppetdb | |
reports = store | |
hiera_config = /etc/puppet/hiera.yaml | |
digest_algorithm = md5 | |
pluginsync = true | |
ssl_client_verify_header = SSL_CLIENT_VERIFY | |
parser = current | |
dns_alt_names = puppet | |
autosign = false | |
ssl_client_header = SSL_CLIENT_S_DN | |
certname = puppet.robinbowes.com | |
environmentpath = /etc/puppet/environments |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment