Jira (PDOC-80) Installation overwrites facter in PE 3.8.3

2016-10-07 Thread William Hopper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 William Hopper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet Strings /  PDOC-80 
 
 
 
  Installation overwrites facter in PE 3.8.3  
 
 
 
 
 
 
 
 
 

Change By:
 
 William Hopper 
 
 
 

Fix Version/s:
 
 PDOC 0.99.0 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PDOC-80) Installation overwrites facter in PE 3.8.3

2016-09-28 Thread William Hopper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 William Hopper commented on  PDOC-80 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Installation overwrites facter in PE 3.8.3  
 
 
 
 
 
 
 
 
 
 
We ended up deciding that we can just remove the runtime dependency on puppet, as the gem is not capable of determining when puppet / facter is installed by a means other than the rubygem. Instead, we're going to add a requirement to the gemspec which will show up on rubygems.org. With this change, the work around for PE 3.8 isn't too bad, and just involves installing the gems into the PE GEM_HOME. 
PR: https://github.com/puppetlabs/puppet-strings/pull/103 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PDOC-80) Installation overwrites facter in PE 3.8.3

2016-09-27 Thread William Hopper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 William Hopper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet Strings /  PDOC-80 
 
 
 
  Installation overwrites facter in PE 3.8.3  
 
 
 
 
 
 
 
 
 

Change By:
 
 William Hopper 
 
 
 

Comment:
 
 This is odd, I can't seem to reproduce this failure in FOSS anymore. I've tried installing puppet-agent and using both gem providers to install puppet-strings, but it succeeds in both cases. I also tried installing puppet 3.8.7 from a gem and installing strings, but that also worked..However, I can get it to fail in PE 3.8.6 with {{puppet resource package puppet-strings provider=gem}} (the command from the strings README for puppet < 4). This is because facter and hiera are symlinked into {{/usr/local/bin}}, and the gem errors out as it tries to install its facter and hiera dependencies due to the conflict with the existing binaries.In PE 2016.4, using the suggested {{puppet resource package puppet-strings provider=puppet_gem}} works correctly. However, using {{provider=gem}} fails with the same issue. This isn't really a problem, as we instruct users to use the {{puppet_gem}} provider for this.So, the only really broken thing here is installing strings with PE 3.8, as the {{puppet_gem}} provider doesn't exist. {{gem install}} will attempt to install the facter and hiera gems, which conflict with the symlinks in {{/usr/local/bin}}. This is the case we'll need to fix. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 

Jira (PDOC-80) Installation overwrites facter in PE 3.8.3

2016-09-27 Thread William Hopper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 William Hopper commented on  PDOC-80 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Installation overwrites facter in PE 3.8.3  
 
 
 
 
 
 
 
 
 
 
puppet_gem just uses the gem we ship with puppet agent, in /opt/puppetlabs/puppet/bin/gem (It uses our vendored ruby) - so we can't replicate that. Installing the strings gem into the PE gemdir /opt/puppet/lib/ruby/gems/1.9.1/gems/gems results in:  
 
 
 
 
 
 
root@cah6tsusw5gkv8b puppet-enterprise-3.8.6-21-g998fda5-el-7-x86_64]# puppet strings 
 
 
 
 
/opt/puppet/lib/ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Unable to find application 'strings'. Could not find puppet (>= 3.7.0) amongst 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PDOC-80) Installation overwrites facter in PE 3.8.3

2016-09-27 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  PDOC-80 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Installation overwrites facter in PE 3.8.3  
 
 
 
 
 
 
 
 
 
 
Probably does not work because it needs to do what the puppet_gem provider does? Could a user do that manually? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PDOC-80) Installation overwrites facter in PE 3.8.3

2016-09-27 Thread William Hopper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 William Hopper commented on  PDOC-80 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Installation overwrites facter in PE 3.8.3  
 
 
 
 
 
 
 
 
 
 
I'm hoping we can document an out of the box workaround, but I haven't been able to get strings to function without overriding PE binaries in /usr/local/bin. 
When doing: 
 
 
 
 
 
 
puppet apply -e "package {'puppet-strings': provider => gem, install_options => ['--ignore-dependencies']}"
 
 
 
 
 
 
 
the strings gem is installed without conflicts, but PE puppet can't find the face: Error: Unknown Puppet subcommand 'strings'. I'm not sure how to work around this. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PDOC-80) Installation overwrites facter in PE 3.8.3

2016-09-27 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg assigned an issue to Lindsey Smith 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet Strings /  PDOC-80 
 
 
 
  Installation overwrites facter in PE 3.8.3  
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 

Assignee:
 
 Lindsey Smith 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PDOC-80) Installation overwrites facter in PE 3.8.3

2016-09-27 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  PDOC-80 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Installation overwrites facter in PE 3.8.3  
 
 
 
 
 
 
 
 
 
 
Can we solve this with documentation how to install for PE 3.8 or are the "out of the box" work around consequences still so bad that we should avoid doing this, and instead make strings state it is for later PE versions only? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PDOC-80) Installation overwrites facter in PE 3.8.3

2016-09-22 Thread William Hopper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 William Hopper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet Strings /  PDOC-80 
 
 
 
  Installation overwrites facter in PE 3.8.3  
 
 
 
 
 
 
 
 
 

Change By:
 
 William Hopper 
 
 
 

Comment:
 
 I ran into this in the FOSS world as well. It can be reproduced just by installing puppet-agent and then following the README instructions to install the gem with puppet. Bumping this up into the next sprint for visibility, as it's a pretty poor user experience at the moment. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PDOC-80) Installation overwrites facter in PE 3.8.3

2016-09-22 Thread William Hopper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 William Hopper commented on  PDOC-80 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Installation overwrites facter in PE 3.8.3  
 
 
 
 
 
 
 
 
 
 
This is odd, I can't seem to reproduce this failure in FOSS anymore. I've tried installing puppet-agent and using both gem providers to install puppet-strings, but it succeeds in both cases. I also tried installing puppet 3.8.7 from a gem and installing strings, but that also worked.. 
However, I can get it to fail in PE 3.8.6 with puppet resource package puppet-strings provider=gem (the command from the strings README for puppet < 4. This is because facter and hiera are symlinked into /usr/local/bin, and the gem errors out as it tries to install its facter and hiera dependencies due to the conflict with the existing binaries. 
In PE 2016.4, using the suggested puppet resource package puppet-strings provider=puppet_gem works correctly. However, using provider=gem fails with the same issue. This isn't really a problem, as we instruct users to use the puppet_gem provider for this. 
So, the only really broken thing here is installing strings with PE 3.8, as the puppet_gem provider doesn't exist. gem install will attempt to install the facter and hiera gems, which conflict with the symlinks in /usr/local/bin. This is the case we'll need to fix. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PDOC-80) Installation overwrites facter in PE 3.8.3

2016-09-21 Thread Jesse Scott (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jesse Scott commented on  PDOC-80 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Installation overwrites facter in PE 3.8.3  
 
 
 
 
 
 
 
 
 
 
Maybe this can be worked around by using the puppet-agent vendored "gem" command to install puppet-strings? Then it should see the existing puppet/facter gems and consider that dependency satisfied already. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PDOC-80) Installation overwrites facter in PE 3.8.3

2016-09-21 Thread Craig Gomes (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Craig Gomes updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet Strings /  PDOC-80 
 
 
 
  Installation overwrites facter in PE 3.8.3  
 
 
 
 
 
 
 
 
 

Change By:
 
 Craig Gomes 
 
 
 

Story Points:
 
 3 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PDOC-80) Installation overwrites facter in PE 3.8.3

2016-09-14 Thread William Hopper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 William Hopper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet Strings /  PDOC-80 
 
 
 
  Installation overwrites facter in PE 3.8.3  
 
 
 
 
 
 
 
 
 

Change By:
 
 William Hopper 
 
 
 

Team:
 
 Puppet Developer Support 
 
 
 

Sprint:
 
 PDS 2016-10-05 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PDOC-80) Installation overwrites facter in PE 3.8.3

2016-09-14 Thread William Hopper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 William Hopper commented on  PDOC-80 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Installation overwrites facter in PE 3.8.3  
 
 
 
 
 
 
 
 
 
 
I ran into this in the FOSS world as well. It can be reproduced just by installing puppet-agent and then following the README instructions to install the gem with puppet. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PDOC-80) Installation overwrites facter in PE 3.8.3

2016-06-22 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  PDOC-80 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Installation overwrites facter in PE 3.8.3  
 
 
 
 
 
 
 
 
 
 
It is probably a transient dependency as I believe that puppet-strings dependency is on puppet.  
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PDOC-80) Installation overwrites facter in PE 3.8.3

2016-06-20 Thread George Pandzik (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 George Pandzik created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet Strings /  PDOC-80 
 
 
 
  Installation overwrites facter in PE 3.8.3  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Affects Versions:
 

 PDOC 0.4.0 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Components:
 

 CLI 
 
 
 

Created:
 

 2016/06/20 4:11 PM 
 
 
 

Environment:
 
 
RHEL 7.0, PE 3.8.3 
 
 
 

Priority:
 
  Major 
 
 
 

Reporter:
 
 George Pandzik 
 
 
 
 
 
 
 
 
 
 
> sudo puppet resource package puppet-strings provider=gem Error: Execution of '/usr/bin/gem install --no-rdoc --no-ri puppet-strings' returned 1: ERROR: Error installing puppet-strings: "facter" from facter conflicts with /usr/local/bin/facter Error: /Package[puppet-strings]/ensure: change from absent to present failed: Execution of '/usr/bin/gem install --no-rdoc --no-ri puppet-strings' returned 1: ERROR: Error installing puppet-strings: "facter" from facter conflicts with /usr/local/bin/facter package  { 'puppet-strings': ensure => 'absent', } 
> sudo gem install puppet-strings facter's executable "facter" conflicts with /usr/local/bin/facter Overwrite the executable?