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

Puppet 5 adds generate_ast_model rake task which breaks gem/tarball creatio

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 5.0.1
    • Component/s: None
    • Labels:
      None
    • Template:
    • Team:
      Agent
    • Story Points:
      1
    • Sprint:
      Agent 2017-06-28
    • Method Found:
      Needs Assessment
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      No Action

      Description

      Most of the machines we use at build-time do not have puppet/facter installed as gems. The generate_ast_model rake task requires puppet (which in turn requires facter), which causes gem and tarball generation to fail since the build environment can't load facter and the Rakefile loads all rake files under tasks.

      The generate_ast_model tasks are not required at build time and as such should be conditionally enabled, if we are able to successfully load puppet.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              morgan Morgan Rhodes
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support