Created
June 14, 2012 14:02
-
-
Save simonsd/2930488 to your computer and use it in GitHub Desktop.
hiera config
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
| --- | |
| test: '28,58' |
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
| [root@puppet production]# puppet agent --test --noop --debug | |
| debug: Puppet::Type::User::ProviderLdap: true value when expecting false | |
| debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist | |
| debug: Puppet::Type::User::ProviderPw: file pw does not exist | |
| debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not exist | |
| debug: Failed to load library 'ldap' for feature 'ldap' | |
| debug: /File[/var/lib/puppet/ssl/certs/puppet.internal.customer.eu.pem]: Autorequiring File[/var/lib/puppet/ssl/certs] | |
| debug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/puppet/ssl] | |
| debug: /File[/var/lib/puppet/state/graphs]: Autorequiring File[/var/lib/puppet/state] | |
| debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring File[/var/lib/puppet/ssl] | |
| debug: /File[/etc/puppet/puppet.conf]: Autorequiring File[/etc/puppet] | |
| debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet] | |
| debug: /File[/var/lib/puppet/ssl/public_keys/puppet.internal.customer.eu.pem]: Autorequiring File[/var/lib/puppet/ssl/public_keys] | |
| debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet] | |
| debug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/puppet] | |
| debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/lib/puppet/ssl] | |
| debug: /File[/var/lib/puppet/classes.txt]: Autorequiring File[/var/lib/puppet] | |
| debug: /File[/var/lib/puppet/state/last_run_report.yaml]: Autorequiring File[/var/lib/puppet/state] | |
| debug: /File[/var/lib/puppet/state/last_run_summary.yaml]: Autorequiring File[/var/lib/puppet/state] | |
| debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/var/lib/puppet/ssl] | |
| debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] | |
| debug: /File[/var/lib/puppet/state/resources.txt]: Autorequiring File[/var/lib/puppet/state] | |
| debug: /File[/var/lib/puppet/ssl/private_keys/puppet.internal.customer.eu.pem]: Autorequiring File[/var/lib/puppet/ssl/private_keys] | |
| debug: /File[/var/lib/puppet/state/state.yaml]: Autorequiring File[/var/lib/puppet/state] | |
| debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/var/lib/puppet/ssl/certs] | |
| debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet] | |
| debug: /File[/var/lib/puppet/client_data]: Autorequiring File[/var/lib/puppet] | |
| debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/lib/puppet] | |
| debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring File[/var/lib/puppet/ssl] | |
| debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/puppet/ssl] | |
| debug: Finishing transaction 69930023820640 | |
| debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/lib/puppet/ssl] | |
| debug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/puppet/ssl] | |
| debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/var/lib/puppet/ssl/certs] | |
| debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/puppet/ssl] | |
| debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/var/lib/puppet/ssl] | |
| debug: /File[/var/lib/puppet/ssl/private_keys/puppet.internal.customer.eu.pem]: Autorequiring File[/var/lib/puppet/ssl/private_keys] | |
| debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet] | |
| debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet] | |
| debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet] | |
| debug: /File[/var/lib/puppet/ssl/certs/puppet.internal.customer.eu.pem]: Autorequiring File[/var/lib/puppet/ssl/certs] | |
| debug: /File[/var/lib/puppet/ssl/public_keys/puppet.internal.customer.eu.pem]: Autorequiring File[/var/lib/puppet/ssl/public_keys] | |
| debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring File[/var/lib/puppet/ssl] | |
| debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] | |
| debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring File[/var/lib/puppet/ssl] | |
| debug: Finishing transaction 69930022542720 | |
| debug: Using cached certificate for ca | |
| debug: Using cached certificate for puppet.internal.customer.eu | |
| debug: Finishing transaction 69930022044880 | |
| debug: Loaded state in 0.01 seconds | |
| info: Loading facts in hypervisor | |
| info: Loading facts in ldapserver | |
| info: Loading facts in concat_basedir | |
| info: Loading facts in percona_datadir | |
| info: Loading facts in icinga_admins | |
| info: Loading facts in root_home | |
| info: Loading facts in facter_dot_d | |
| info: Loading facts in hypervisor | |
| info: Loading facts in ldapserver | |
| info: Loading facts in concat_basedir | |
| info: Loading facts in percona_datadir | |
| info: Loading facts in icinga_admins | |
| info: Loading facts in root_home | |
| info: Loading facts in facter_dot_d | |
| /bin/cat: /etc/hypervisor: No such file or directory | |
| /bin/cat: /etc/hypervisor: No such file or directory | |
| /bin/cat: /etc/hypervisor: No such file or directory | |
| debug: catalog supports formats: b64_zlib_yaml dot marshal pson raw yaml; using pson | |
| debug: Using cached certificate for ca | |
| debug: Using cached certificate for puppet.internal.customer.eu | |
| debug: Using cached certificate_revocation_list for ca | |
| err: Could not retrieve catalog from remote server: Error 400 on SERVER: can't convert nil into String at /etc/puppet/environments/production/modules/customer/manifests/puppet.pp:5 on node puppet.internal.customer.eu | |
| warning: Not using cache on failed catalog | |
| err: Could not retrieve catalog; skipping run | |
| debug: Value of 'preferred_serialization_format' (pson) is invalid for report, using default (b64_zlib_yaml) | |
| debug: report supports formats: b64_zlib_yaml marshal raw yaml; using b64_zlib_yaml |
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 | |
| - puppet | |
| :logger: console | |
| :hierarchy: | |
| - %{hostname} | |
| - common | |
| :yaml: | |
| :datadir: /etc/puppet/hieradata | |
| :puppet: | |
| :datasource: data |
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 customer::puppet { | |
| cron { | |
| 'puppet': | |
| ensure => 'present', | |
| minute => hiera("test", "15"), | |
| user => 'root', | |
| command => '/usr/bin/puppet agent --test'; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment