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

Deprecate using file checksums in `content` property

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 5.5.2
    • None
    • None
    • Hide

      The file and line number (context info) should be included in the deprecation warning.

      If the Puppet[:disable_warnings] puppet setting includes 'deprecations', then the warning should not be generated/displayed.

      Show
      The file and line number (context info) should be included in the deprecation warning. If the Puppet [:disable_warnings] puppet setting includes 'deprecations' , then the warning should not be generated/displayed.
    • Coremunity
    • Platform Core KANBAN
    • Deprecation
    • A deprecation warning will now be issued to users when a checksum value is being used explicitly in the content property of a file resource.
    • Needs Assessment

    Description

      If a user specifies a file checksum in the content attribute, like:

      file {'/tmp/foo': content => "{md5}saotedc8dethauuhhtneoatndh" }
      

      ... we should log a deprecation warning. We should start doing this sometime during Puppet 5 to prepare for removal in Puppet 6.

      Attachments

        Issue Links

          Activity

            People

              jennifer.solman Jennifer Solman
              nick.fagerlund Nicholas Fagerlund
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support