Uploaded image for project: 'Puppet Enterprise'
  1. Puppet Enterprise
  2. ENTERPRISE-836

puppet master --compile <hostname> fails if you use $trusted

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PE 2015.2.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Template:
    • Console Browser:
      Chrome
    • Master Config:
      Monolithic
    • Agent OS:
      Ubuntu 14.04 (i386, amd64)
    • Master OS:
      Ubuntu 14.04 (amd64)

      Description

      I have the following code in my site.pp:
      $location = $trusted['extensions']['1.3.6.1.4.1.34380.1.1.100']

      This gets an embedded fact from the client certificate.

      When I try to compile a catalogue for a node on the master in the following manner:
      puppet master --compile myhost.example.com

      I get the following error:
      Error: Attempt to assign to a reserved variable name: 'trusted' on node myhost.example.com
      Error: Attempt to assign to a reserved variable name: 'trusted' on node myhost.example.com
      Error: Failed to compile catalog for node myhost.example.com: Attempt to assign to a reserved variable name: 'trusted' on node myhost.example.com

      I am most certainly not trying to assign anything anywhere to $trusted.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              ggeldenhuis-old Gerhardus Geldenhuis
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support