Advertisement
multiverse

hashed correctly?

Jan 19th, 2012
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. puppetmaster.yaml
  2.  
  3. ---
  4. tomcat_instance:
  5. myghsrv1:
  6. conf:
  7. port1:
  8. port: 16
  9. env1:
  10. env: poc
  11.  
  12.  
  13. excerpt from init.pp
  14.  
  15. $tomcat_instance = hiera('tomcat_instance')
  16. $env = $tomcat_instance[myghsrv1][conf][env]
  17.  
  18.  
  19. error message
  20.  
  21. [root@puppetmaster ~]# puppet apply /etc/puppetlabs/puppet/modules/tomcat/tests/init.pp -vd --noop
  22. info: Loading facts in facter_dot_d
  23. info: Loading facts in facter_dot_d
  24. warning: Could not retrieve fact fqdn
  25. debug: importing '/etc/puppetlabs/puppet/modules/tomcat/manifests/init.pp' in environment production
  26. debug: Automatically imported tomcat from tomcat into production
  27. debug: Failed to load library 'selinux' for feature 'selinux'
  28. debug: hiera(): Hiera YAML backend starting
  29. debug: hiera(): Looking up tomcat_instance in YAML backend
  30. debug: hiera(): Looking for data source puppetmaster
  31. notice: Scope(Class[Tomcat]):
  32. debug: importing '/etc/puppetlabs/puppet/modules/tomcat/manifests/instance.pp' in environment production
  33. debug: Automatically imported tomcat::instance from tomcat/instance into production
  34. Invalid parameter conf on node puppetmaster
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement