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

tidy should follow symlinks

    XMLWordPrintable

    Details

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

      Description

      tidy uses Fileset which will use either stat or lstat (see code ) depending on
      :links => :manage | :follow and defaults to {{:manage }} (see code )

      As tidy doesn't explicitly set :follow the results may vary if the target dir is a symlink. For example, if trying to tidy /etc/init.d which is a symlink to /etc/rc./d/init.d on CentOS 6/7 it won't work. -However tidying /etc/init.d/ (trailing slash) will work-.

      Instead tidy should explicitly set :links => :follow or at least have it configurable (or both).

        Attachments

          Activity

            People

            Assignee:
            clehene Cosmin Lehene
            Reporter:
            clehene Cosmin Lehene
            QA Contact:
            Eric Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support