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

"produces" statements seem not to work from a puppet agent run

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • PUP 4.3.0
    • None
    • None
    • 2
    • Language 2015-10-28, Language 2015-11-11
    • Not Needed
    • Part of new feature "app management"

    Description

      Trying to export a capability when running puppet agent results in the following error:

      Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Resource type Site::Pql does not produce Sql on node centos7-1.vm
      

      There is a Site::Pql produces Sql statement in the correct spot (next to the definition), but it seems not to have actually been evaluated.

      If environment_timeout = unlimited is enabled and an environment catalog is retrieved first, subsequent agent runs succeed. This seems to indicate that the produces statements are evaluated when compiling the environment catalog and then cached for the agent run.

      Attachments

        Issue Links

          Activity

            People

              qa qa
              nick Nick Lewis
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support