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

PMT does not ignore values in .pmtignore

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Cannot Reproduce
    • Affects Version/s: PUP 4.2.1
    • Fix Version/s: None
    • Component/s: PMT
    • Labels:
      None
    • Template:

      Description

      Following this link
      https://docs.puppetlabs.com/puppet/latest/reference/modules_publishing.html#set-files-to-be-ignored

      I attempted to ignore a symlink in my module but it is still being read in.

      sw_vers
      ProductName:	Mac OS X
      ProductVersion:	10.9.5
      BuildVersion:	13F34
       
      puppet -V
      4.2.1
       
      ls -lA
      total 64
      -rw-r--r--  1 zack  staff   12 Aug 10 11:22 .pmtignore
      -rw-r--r--  1 zack  staff  282 Aug  6 12:36 centos-64-x64-pe.yml
      -rw-r--r--  1 zack  staff  270 Aug  5 10:21 centos-66-x64.yml
      -rw-r--r--  1 zack  staff  271 Aug  5 10:21 centos-70-x64.yml
      -rw-r--r--  1 zack  staff  259 Aug  5 10:21 debian-78-x64.yml
      lrwxr-xr-x  1 zack  staff   26 Aug  5 10:21 default.yml -> ubuntu-server-1204-x86.yml
      -rw-r--r--  1 zack  staff  290 Aug  5 10:21 ubuntu-server-1204-x86.yml
      -rw-r--r--  1 zack  staff  292 Aug  5 10:21 ubuntu-server-1404-x64.yml
       
      cat .pmtignore
      default.yml
       
      cd ../../../..
      puppet module build r10k/
       
      Warning: Symlinks in modules are unsupported. Please investigate symlink spec/acceptance/nodesets/default.yml -> spec/acceptance/nodesets/ubuntu-server-1204-x86.yml.
      Error: Found symlinks. Symlinks in modules are not allowed, please remove them.
      Error: Try 'puppet help module build' for usage
      
      

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                zack.smith Zack Smith
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support