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

unable to compile catalog using puppetdb

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 4.2.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      puppet-agent-1.2.2-1
      puppetdb-3.1.0

    • Template:

      Description

      $ /opt/puppetlabs/bin/puppet catalog --config test/puppet.conf  --render-as json find puppetdb1.ccs.ornl.gov
      Warning: Specification of server and port in puppetdb.conf is deprecated. Use the setting server_urls.
      Error: Attempt to assign to a reserved variable name: 'trusted' on node stellar-mgmt1.ccs.ornl.gov
      Error: Could not call 'find' on 'catalog': Attempt to assign to a reserved variable name: 'trusted' on node puppetdb1.ccs.ornl.gov
      Error: Could not call 'find' on 'catalog': Attempt to assign to a reserved variable name: 'trusted' on node puppetdb1.ccs.ornl.gov
      Error: Try 'puppet help catalog find' for usage
      

      puppet.conf

      [main]
        node_terminus = nodepatterns
        nodepatterndir = nodepatterns
       
        usecacheonfailure=false
       
        basemodulepath = modules:upstream:~/.puppet/modules
        # Silly hack to always go to our current directory instead of ./$enviornment
        enviornmentpath = ../
       
        facts_terminus = puppetdb
        storeconfigs = false
       
        confdir = test
        ssldir = test/ssl
        vardir = test/var
      

      This use to work with puppet3.8. I think this may be the same issue as PDB-949, but everything I see referencing that issue is specific to the puppet master.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kylo Kylo Ginsberg
              Reporter:
              pyther Matthew Gyurgyik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support