e.g. say I have a class:class hieratest($default_value="default") { file { "/tmp/hieratest.txt": ensure => present, content => $default_value, } } and in my nodes.pp I have include hieratestIf I run puppetmaster in the foreground and do a 'puppet agent -t' I can see that hiera is looking through my entire hierarchy for hieratest::default_value. I would not expect hiera to do this unless I had put:
What you are describing is the new data binding features that came out in Puppet 3.0
http://docs.puppetlabs.com/puppet/3/reference/release_notes.html#automatic-data-bindings-for-class-parameters Regards Craig -- Craig Dunn Professional Services Puppet Labs Inc. http://www.puppetlabs.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
