Jira (PUP-2012) puppet module --modulepath command errors when run as non-root

2015-09-06 Thread Jo Rhett (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jo Rhett commented on  PUP-2012 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: puppet module --modulepath command errors when run as non-root  
 
 
 
 
 
 
 
 
 
 
This appears to be fixed somewhere before Puppet 4.2.0. 
 
 
 
 
 
 
$ puppet module install puppetlabs-stdlib  
 
 
 
 
Notice: Preparing to install into /home/vagrant/.puppetlabs/etc/code/modules ... 
 
 
 
 
Notice: Created target directory /home/vagrant/.puppetlabs/etc/code/modules 
 
 
 
 
Notice: Downloading from https://forgeapi.puppetlabs.com ... 
 
 
 
 
Notice: Installing -- do not interrupt ... 
 
 
 
 
/home/vagrant/.puppetlabs/etc/code/modules 
 
 
 
 
└── puppetlabs-stdlib (v4.8.0)
 
 
 
 
 
 
 
It also works non-root if the user has write access to other directories. 
 
 
 
 
 
 
$ puppet module install puppetlabs-stdlib --modulepath /etc/puppetlabs/code/environments/test/modules 
 
 
 
  

Jira (PUP-5204) Check that produced capability resources are unique in the environment

2015-09-06 Thread David Lutterkort (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 David Lutterkort created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5204 
 
 
 
  Check that produced capability resources are unique in the environment  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Task 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Created:
 

 2015/09/06 2:16 PM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 David Lutterkort 
 
 
 
 
 
 
 
 
 
 
In any environment, capability resources must be unique (by type and title) To enforce that, check that the various export metaparams in the environment catalog produce unique resources. 
This is probably easiest when done in lib/puppet/network/hhtp/v3/environment.rb when we assemble the entire environment graph. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4)