Jira (PUP-1600) puppet node doesn't retrieve the environment params

2014-02-19 Thread Eric Sorenson (JIRA)
Title: Message Title










 

 Eric Sorenson commented on an issue











 






  Re: puppet node doesn't retrieve the environment params 










Setting $environment as a top-scope parameter does not set the Puppet environment. Setting the Puppet environment is not supported in dashboard, as I understand it. There's a workaround using a module, check out https://projects.puppetlabs.com/issues/21902 for more detail. 












   

 Add Comment











 













 Puppet /  PUP-1600



  puppet node doesn't retrieve the environment params 







 Hi,   According to http://docs.puppetlabs.com/guides/environment.html, I have defined a variable environment in my puppet dashboard.  {code}  # /usr/bin/env PUPPET_DASHBOARD_URL=http://localhost:3000 /usr/share/puppet-dashboard/bin/external_node mynode  ---  name: mynode  parameters:  ...    environment: beta  ...  {code}  I have configure my master :  ...















 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

Jira (PUP-1600) puppet node doesn't retrieve the environment params

2014-02-06 Thread frederic ragot (JIRA)
Title: Message Title










 

 frederic ragot created an issue











 






 Puppet /  PUP-1600



  puppet node doesn't retrieve the environment params 










Issue Type:

  Bug




Affects Versions:


 3.4.2




Assignee:

 Eric Sorenson




Created:


 06/Feb/14 8:28 AM




Environment:


CentOS release 6.5 (Final)




Priority:

  Normal




Reporter:

 frederic ragot










Hi,
According to http://docs.puppetlabs.com/guides/environment.html, I have defined a variable environment in my puppet dashboard.



# /usr/bin/env PUPPET_DASHBOARD_URL=http://localhost:3000 /usr/share/puppet-dashboard/bin/external_node mynode
---
name: mynode
parameters:
...
  environment: beta
...



I have configure my master : 



[main]
  ...
modulepath = $confdir/environments/$environment/modules:$confdir/modules

[master]
  ...

[production]
 modulepath = $confdir/modules



I have installed my module in the right env :