Bug #17460

Set node.rb file context for Puppet 4

Added by Lukas Zapletal over 1 year ago. Updated 6 days ago.

Assignee:Lukas Zapletal
Category:General Foreman
Target version:1.14.0
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link:1393506 Found in Releases:
Pull request:https://github.com/theforeman/foreman-selinux/pull/65


/etc/puppetlabs/puppet/node.rb requires to be labeled with foreman_enc_t
(the same as is /etc/puppet/node.rb)

Puppet3 labels:
  1. bzcat /etc/selinux/targeted/active/modules/400/foreman/cil | grep /etc/puppet
    (filecon "/etc/puppet/node.rb" any (system_u object_r foreman_enc_t ((s0) (s0))))
Puppet4 node.rb:
  1. ll Z `find /etc/puppetlabs/ -name node.rb`
    . puppet puppet system_u:object_r:puppet_etc_t:s0 /etc/puppetlabs/puppet/node.rb

Version-Release number of selected component (if applicable):

Steps to Reproduce:
ll -Z /etc/puppetlabs/puppet/node.rb

Associated revisions

Revision 4e27f746
Added by Lukas Zapletal over 1 year ago

Fixes #17460 - added puppet4 node.rb context


#1 Updated by The Foreman Bot over 1 year ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-selinux/pull/65 added

#2 Updated by Anonymous over 1 year ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#3 Updated by Dominic Cleal over 1 year ago

  • Legacy Backlogs Release (now unused) set to 189

#4 Updated by Daniel Lobato Garcia over 1 year ago

  • Target version set to 1.4.3

Also available in: Atom PDF