Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- puppetmaster.yaml
- ---
- tomcat_instance:
- myghsrv1:
- conf:
- port1:
- port: 16
- env1:
- env: poc
- excerpt from init.pp
- $tomcat_instance = hiera('tomcat_instance')
- $env = $tomcat_instance[myghsrv1][conf][env]
- error message
- [root@puppetmaster ~]# puppet apply /etc/puppetlabs/puppet/modules/tomcat/tests/init.pp -vd --noop
- info: Loading facts in facter_dot_d
- info: Loading facts in facter_dot_d
- warning: Could not retrieve fact fqdn
- debug: importing '/etc/puppetlabs/puppet/modules/tomcat/manifests/init.pp' in environment production
- debug: Automatically imported tomcat from tomcat into production
- debug: Failed to load library 'selinux' for feature 'selinux'
- debug: hiera(): Hiera YAML backend starting
- debug: hiera(): Looking up tomcat_instance in YAML backend
- debug: hiera(): Looking for data source puppetmaster
- notice: Scope(Class[Tomcat]):
- debug: importing '/etc/puppetlabs/puppet/modules/tomcat/manifests/instance.pp' in environment production
- debug: Automatically imported tomcat::instance from tomcat/instance into production
- Invalid parameter conf on node puppetmaster
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement