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

deprecation message about source_permissions parameter with file resource

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Duplicate
    • PUP 5.5.8, PUP 6.0.4
    • None
    • Compiler, Docs
    • None
    • Coremunity
    • Needs Assessment
    • Needs Assessment

    Description

      Puppet Version:
      Puppet Server Version:
      OS Name/Version: Any Linux tested.

      We (Voxpupuli) are using file resource with source_permissions attribute here :

      https://github.com/voxpupuli/puppet-openvpn/blob/master/manifests/ca.pp#L63

      It looks to do the expected job.

      It appears linked with https://tickets.puppetlabs.com/browse/PUP-5921

      But docs about types does not show deprecation message.

      The deprecation message is it yet relevant ?

      Desired Behavior:

      No deprecation warning.

      Actual Behavior:

      $> puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.3BVJmE
      Info: Loading facts
      Info: Loading facts
      Notice: Compiled catalog for vpnserver in environment production in 0.21 seconds
      Warning: The `source_permissions` parameter is deprecated. Explicitly set `owner`, `group`, and `mode`.
      (file: /etc/puppetlabs/code/modules/openvpn/manifests/ca.pp, line: 59)
      Info: Applying configuration version '1543266749'

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Dan33l Dan33l
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support