Bug #17460

Set node.rb file context for Puppet 4

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

Assigned To:Lukas Zapletal
Category:General Foreman
Target version:Foreman - Team Daniel - iteration 6
Difficulty: Bugzilla link:1393506
Found in release: Pull request:https://github.com/theforeman/foreman-selinux/pull/65
Story points-
Velocity based estimate-
Release1.14.0Release relationshipAuto


/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

  • Release set to 1.14.0

#4 Updated by Daniel Lobato Garcia over 1 year ago

  • Target version set to Team Daniel - iteration 6

Also available in: Atom PDF