Jira (PUP-1888) Environment changes mid run
Title: Message Title John Duarte updated an issue Puppet / PUP-1888 Environment changes mid run Change By: John Duarte QA Status: Reviewed Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1888) Environment changes mid run
Title: Message Title Andy Parker commented on an issue Re: Environment changes mid run BJ McPhall, does the class that calls hiera() have a parameter named environment? Or is there some variable shadowing $environment at the point that hiera() is called? References inside hiera to variables will use the local scope at the time of the call to hiera. So you might need to use ::environment inside hiera. Add Comment Puppet / PUP-1888 Environment changes mid run I'm trying to use Puppet and hiera to install a Foreman instance. In the middle of the run, the environment switches from {{management_14upgrade}} to {{production}} in the middle of the run. /etc/hiera.yaml {code} --- :backends: - yaml :logger: console :hierarchy: - theforeman/%{theforeman} - %{jenkins}/common - %{logstash}/common... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to
Jira (PUP-1888) Environment changes mid run
Title: Message Title Andy Parker updated an issue Puppet / PUP-1888 Environment changes mid run Change By: Andy Parker Assignee: BJMcPhall Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1888) Environment changes mid run
Title: Message Title BJ McPhall created an issue Puppet / PUP-1888 Environment changes mid run Issue Type: Bug Affects Versions: 3.3.2 Assignee: Unassigned Created: 07/Mar/14 6:46 AM Environment: RHEL 6.5 Priority: Normal Reporter: BJ McPhall I'm trying to use Puppet and hiera to install a Foreman instance. In the middle of the run, the environment switches from management_14upgrade to production in the middle of the run. /etc/hiera.yaml --- :backends: - yaml :logger: console :hierarchy: - theforeman/%{theforeman} - %{jenkins}/common - %{logstash}/common - rDNS/$%{rDNS} - common - users :yaml: :datadir: /etc/puppet/environments/%{environment}/hiera snippet of the puppet run Thu Mar 06 16:22:49 -0500 2014 Puppet (debug): importing '/etc/puppet/environments/management_14upgrade/modules/r10k/manifests/config.pp' in environment management_14upgrade Thu Mar 06 16:22:49 -0500 2014 Puppet (debug): Automatically imported r10k::config from