Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-7375

Puppet does not change file to directory when selinux is enabled

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: PUP 5.y
    • Component/s: None
    • Environment:

      Fresh installation (no upgrade) of PE 2017.1.0 running on CentOS 7

    • Template:
    • Acceptance Criteria:
      Hide

      Puppet changes file to a directory

      Show
      Puppet changes file to a directory
    • Team:
      Platform OS
    • QA Risk Assessment:
      Needs Assessment

      Description

      When having a file on the system (touch /tmp/foo)
      and mananging this file from puppet as a directory, puppet will not convert the file to a directory.
      e.g.

      class demo {
        File {
          owner => 'root',
          group => 'root',
          mode  => '0644',
        }
        file { '/tmp/foo':
          ensure => directory,
        }
        file { '/tmp/foo/bar':
          ensure => file,
        }
      }
      

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                malfke Martin Alfke
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Zendesk Support