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

Deprecate implicit creation of symlinks when file ensure parameter is unknown

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: PUP 3.5.0
    • Fix Version/s: None
    • Component/s: Types and Providers
    • Labels:
      None

      Description

      This manifest creates a bogus symlink. My contention is that it should reject the invalid attribute value and not create a symlink.

      [eric@cloudline]~% puppet apply -e "file { '/tmp/jenny': ensure => symlink, }"
      Notice: Compiled catalog for cloudline.localdomain in environment production in 0.02 seconds
      Notice: /Stage[main]/Main/File[/tmp/jenny]/ensure: created
      Notice: Applied catalog in 0.02 seconds
      [eric@cloudline]~% ls -l /tmp/jenny
      lrwxrwxrwx. 1 eric eric 7 Mar 19 14:21 /tmp/jenny -> symlink
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kurt.wall Kurt Wall
                QA Contact:
                Narmadha Perumal
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support