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

Puppet module tool no longer processes files starting with a period as erb

    XMLWordPrintable

    Details

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

      Description

      The following commit changed the behaviour of the Puppet module tool generator:

      https://github.com/puppetlabs/puppet/commit/9202651f547c96e1a766d04c00a7691a3d383754

      Prior to that commit any file that ended in .erb was processed as a template. After that commit any file that started with a period was no longer processed.

      The reason why this is relevant is that the Puppet Module Skeleton project has a file .fixtures.yml.erb (https://github.com/garethr/puppet-module-skeleton/blob/master/skeleton/.fixtures.yml.erb) which is no longer correctly processed. puppetslabs_spec_helper does not allow the filename to be overridden.

      I can't find any tests for the generate command so this is unspecified as far as I can tell.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            gareth Gareth Rushgrove
            QA Contact:
            Eric Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 hours
                  2h
                  Remaining:
                  Remaining Estimate - 2 hours
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified