Uploaded image for project: 'PuppetDB'
  1. PuppetDB
  2. PDB-1342

Using facts terminus with puppetdb_apply fails on Puppet 4.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PDB 2.3.0
    • Fix Version/s: PDB 2.3.1
    • Component/s: None
    • Labels:
    • Environment:
    • Template:
    • Story Points:
      3
    • Sprint:
      PuppetDB 2015-04-08

      Description

      Performing a puppet apply using the facts terminus with a puppetdb_apply cache fails when using Puppet 4.0

      # FACTER_foo='testfoo' puppet apply --noop --route_file /tmp/routes-apply.yaml -e 'notice($foo)'
      Error: Could not run: Could not retrieve facts for thh39d395fpq1u8.delivery.puppetlabs.net: undefined local variable or method `request' for #<Puppet::Node:
      :Facts::PuppetdbApply:0x0000000323a7f0>
      

      Here are the contents of the /tmp/routes-apply.yaml file

      apply:
        facts:
          terminus: facter
          cache: puppetdb_apply
      

      Please note that the PuppetDB node is separate from the Puppet server node that the command and routes-apply.yaml file are being executed on.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            john.duarte John Duarte
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support