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

Deprecate using file checksums in `content` property

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 5.5.2
    • Component/s: None
    • Labels:
      None
    • Template:
    • Acceptance Criteria:
      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.
    • Team:
      Coremunity
    • Sprint:
      Platform Core KANBAN
    • Release Notes:
      Deprecation
    • Release Notes Summary:
      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.
    • QA Risk Assessment:
      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

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

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support