I use the following: sudo puppet apply --pluginsync --hiera_config /path/to/hiera.yaml --modulepath=/home/user/puppet/modules/ /home/user/puppet/manifests/site.pp
On Wednesday, May 29, 2013 6:06:34 PM UTC-5, Campee wrote: > > I'm running Puppet v2.7.14. I have a puppet master server with Hiera and > it works great. I also want to be able to apply my manifests locally on a > node. I have installed Hiera on my node and I can verify using the Hiera > command line application that values can be looked up: > > user@tag5-4-qa-sjc:~$ hiera corp_puppet_server region=northamerica > datacenter=sjc environment=qa --debug > DEBUG: Wed May 29 16:03:46 -0700 2013: Hiera YAML backend starting > DEBUG: Wed May 29 16:03:46 -0700 2013: Looking up corp_puppet_server in > YAML backend > DEBUG: Wed May 29 16:03:46 -0700 2013: Looking for data source > regions/northamerica/datacenters/sjc/qa/qa-sjc > DEBUG: Wed May 29 16:03:46 -0700 2013: Found corp_puppet_server in > regions/northamerica/datacenters/sjc/qa/qa-sjc > puppet-qa-sjc.corp.net > > But when I run puppet I get an error saying that a value can not be looked > up: > > user@tag5-4-qa-sjc:~$ sudo puppet apply --pluginsync > --modulepath=/home/user/puppet/modules/ /home/user/puppet/manifests/site.pp > > Failed to parse template puppet/puppet_run.sh.erb: Could not find value > for 'corp_puppet_server' at > 2:/home/user/puppet/modules/puppet/templates/puppet_run.sh.erb at > /home/user/puppet/modules/puppet/manifests/init.pp:17 on node > tag5-4-qa-sjc.corp.net > > -- 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.
