Jira (PUP-10548) Wrong SELinux contexts on files if puppet installs new rpm with SELinux policy

2020-06-25 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10548  
 
 
  Wrong SELinux contexts on files if puppet installs new rpm with SELinux policy   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Team: 
 Night's Watch  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.363809.1593020161000.95351.1593102120091%40Atlassian.JIRA.


Jira (PUP-10548) Wrong SELinux contexts on files if puppet installs new rpm with SELinux policy

2020-06-25 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-10548  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Wrong SELinux contexts on files if puppet installs new rpm with SELinux policy   
 

  
 
 
 
 

 
 ping Ciprian Badescu this ticket is a follow up to conversation on PUP-2169  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.363809.1593020161000.95352.1593102120135%40Atlassian.JIRA.


Jira (PUP-10545) Error: Could not set 'file' on ensure: No such file or directory @ dir_s_mkdir -

2020-06-25 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-10545  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Error: Could not set 'file' on ensure: No such file or directory @ dir_s_mkdir -   
 

  
 
 
 
 

 
 It looks like you're trying to manage the file /appserver/pq-kibana/kibana/config/kibana.yml but one of the parent directories does not exist. Puppet doesn't automatically create directories, but you can tell puppet to create them via:  
 
 
 
 
 file { ['/appserver', '/appserver/pq-kibana', etc] :  
 
 
   ensure => directory,  
 
 
   owner => 0,  
 
 
   group => 0,  
 
 
   mode => "0755",  
 
 
 }  
 
 
 file { 'appserver/pq-kibana/kibana/config/kibana.yml':  
 
 
   ensure => file,  
 
 
   owner => 'kibana',  
 
 
   group => 'kibana',  
 
 
   mode => "0640"  
 
 
 }
  
 
 
 
  For issues like this, it's best to join the puppet community on slack. Folks can give you more 

Jira (PUP-6916) Add support for username:password@domain for http/https sources

2020-06-25 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-6916  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Add support for username:password@domain for http/https sources   
 

  
 
 
 
 

 
 Merged to master in https://github.com/puppetlabs/puppet/commit/392353374d3585b51909dc3cd7cbd18ccc8d61d4.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.160802.1479116725000.95311.1593100920110%40Atlassian.JIRA.


Jira (PUP-10543) Puppet agents can't download file content from puppetserver via "raw" https

2020-06-25 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-10543  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Puppet agents can't download file content from puppetserver via "raw" https   
 

  
 
 
 
 

 
 Merged to master in https://github.com/puppetlabs/puppet/commit/7ba18b2caa83a1586057ad123d3e0ad72d0e1f42  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.363201.159241929.95307.1593100740124%40Atlassian.JIRA.


Jira (FACT-2682) facter -p returns NUL character on stdout when called from nested ruby on windows

2020-06-25 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  FACT-2682  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: facter -p returns NUL character on stdout when called from nested ruby on windows   
 

  
 
 
 
 

 
 My guess is this is coming from https://github.com/puppetlabs/puppet/blob/f8d62dfdc2450584d10ddf043605855f8bc52009/lib/puppet/util/windows/string.rb#L12-L13 when applied to an empty string, and then joined with other facts.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.363822.1593026104000.95285.1593099360028%40Atlassian.JIRA.


Jira (FACT-2683) Add remaining networking legacy facts for OSX

2020-06-25 Thread Andrei Filipovici (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrei Filipovici created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2683  
 
 
  Add remaining networking legacy facts for OSX   
 

  
 
 
 
 

 
Issue Type: 
  Task  
 
 
Assignee: 
 Unassigned  
 
 
Created: 
 2020/06/25 7:16 AM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Andrei Filipovici  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit 

Jira (FACT-2684) Add remaining networking legacy facts for Linux

2020-06-25 Thread Andrei Filipovici (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrei Filipovici created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2684  
 
 
  Add remaining networking legacy facts for Linux   
 

  
 
 
 
 

 
Issue Type: 
  Task  
 
 
Assignee: 
 Unassigned  
 
 
Created: 
 2020/06/25 7:16 AM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Andrei Filipovici  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit 

Jira (FACT-2218) virtual fact for OSX

2020-06-25 Thread Bogdan Irimie (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bogdan Irimie assigned an issue to Bogdan Irimie  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2218  
 
 
  virtual fact for OSX   
 

  
 
 
 
 

 
Change By: 
 Bogdan Irimie  
 
 
Assignee: 
 Bogdan Irimie  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.338924.1576054103000.95165.1593093360032%40Atlassian.JIRA.


Jira (FACT-2676) Wrong identification of Opensuse Leap systems

2020-06-25 Thread Andrei Filipovici (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrei Filipovici assigned an issue to Andrei Filipovici  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2676  
 
 
  Wrong identification of Opensuse Leap systems   
 

  
 
 
 
 

 
Change By: 
 Andrei Filipovici  
 
 
Assignee: 
 Andrei Filipovici  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.363413.1592644961000.95089.1593079320191%40Atlassian.JIRA.


Jira (FACT-2682) facter -p returns NUL character on stdout when called from nested ruby on windows

2020-06-25 Thread Mihai Buzgau (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mihai Buzgau commented on  FACT-2682  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: facter -p returns NUL character on stdout when called from nested ruby on windows   
 

  
 
 
 
 

 
 Puppet  6.0.0, Facter 3.12.0, same issue:  
 
 
 
 
 C:\Users\Administrator>"c:\Program Files\Puppet Labs\Puppet\puppet\bin\irb.bat"  
 
 
 irb(main):001:0> `puppet --version`  
 
 
 => "6.0.0\n"  
 
 
 irb(main):002:0> `facter --version`  
 
 
 => "3.12.0 (commit b76618ccecd07a146733e4984f0906f52846a773)\n"  
 
 
 irb(main):003:0> `facter -p myf`  
 
 
 => "\x00\"bar\\n\"\n"   
 
 
 
  Seems like this has been around since the release of Puppet 6  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 
  

Jira (FACT-2682) facter -p returns NUL character on stdout when called from nested ruby on windows

2020-06-25 Thread Mihai Buzgau (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mihai Buzgau commented on  FACT-2682  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: facter -p returns NUL character on stdout when called from nested ruby on windows   
 

  
 
 
 
 

 
 Puppet 6.9.0 behaves the same:  
 
 
 
 
 C:\Users\Administrator>"c:\Program Files\Puppet Labs\Puppet\puppet\bin\irb.bat"  
 
 
 irb(main):001:0> `puppet --version  
 
 
 irb(main):002:0` `  
 
 
 => "6.9.0\n"  
 
 
 irb(main):003:0> `facter --version`  
 
 
 => "3.14.4 (commit f076bf1e76ba6331273ef85787506e89ab0497c3)\n"  
 
 
 irb(main):004:0> `facter -p myf`  
 
 
 => "\x00\"bar\\n\"\n"   
 
 
 
     
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
   

Jira (FACT-2682) facter -p returns NUL character on stdout when called from nested ruby on windows

2020-06-25 Thread Mihai Buzgau (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mihai Buzgau commented on  FACT-2682  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: facter -p returns NUL character on stdout when called from nested ruby on windows   
 

  
 
 
 
 

 
 At first, I thought that the addition of the functionality to detect built-in commands (https://tickets.puppetlabs.com/browse/FACT-2054) in Facter 3.14.7 was causing this issue. However, it seems that this is reproducible on Puppet 6.11.1, which has Facter 3.14.6:  
 
 
 
 
 C:\Users\Administrator>"c:\Program Files\Puppet Labs\Puppet\puppet\bin\irb.bat"  
 
 
 irb(main):001:0> `puppet --version`  
 
 
 => "6.11.1\n"  
 
 
 irb(main):002:0> `facter --version`  
 
 
 => "3.14.6 (commit 47c91659d7220d0b5c536f7e5fb1a541c1f0d36c)\n"  
 
 
 irb(main):003:0> `facter -p myf`  
 
 
 => "\x00\"bar\\n\"\n"   
 
 
 
     
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 

Jira (FACT-2681) Investigate hypervisors fact for linux

2020-06-25 Thread Oana Tanasoiu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Oana Tanasoiu assigned an issue to Oana Tanasoiu  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2681  
 
 
  Investigate hypervisors fact for linux   
 

  
 
 
 
 

 
Change By: 
 Oana Tanasoiu  
 
 
Assignee: 
 Oana Tanasoiu  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.363709.1593006275000.95023.1593069180027%40Atlassian.JIRA.


Jira (FACT-2682) facter -p returns NUL character on stdout when called from nested ruby on windows

2020-06-25 Thread Mihai Buzgau (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mihai Buzgau commented on  FACT-2682  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: facter -p returns NUL character on stdout when called from nested ruby on windows   
 

  
 
 
 
 

 
 Was able to reproduce this on Puppet 6.16.0, both using `facter -p` and also by setting the FACTERLIB environment variable:  
 
 
 
 
 C:\Users\Administrator>"c:\Program Files\Puppet Labs\Puppet\puppet\bin\irb.bat"  
 
 
 irb(main):001:0> ENV['FACTERLIB']='C:\Program Files\Puppet Labs\Puppet\puppet\lib\ruby\facter'  
 
 
 => "C:\\Program Files\\Puppet Labs\\Puppet\\puppet\\lib\\ruby\\facter"  
 
 
 irb(main):002:0> `facter myf`  
 
 
 => "\x00\"bar\\n\"\n"
  
 
 
 
   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)