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

Puppet Device --apply fails to apply catalog to unregistered targets

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 5.5.3
    • Component/s: None
    • Labels:
      None
    • QA Risk Assessment:
      Needs Assessment

      Description

      Having created a new provider and wishing to apply a manifest to my new target:

      bundle exec puppet device --verbose --trace --modulepath ~/projects --target=hue_hub --deviceconfig /Users/david.armstrong/test_manifests/device.conf --apply ~/test_manifests/hue_disco.pp

      returns

      Notice: Compiled catalog for hue_hub in environment production in 0.09 seconds
      Info: Applying configuration version '1522924613'
      Info: Creating state file /Users/david.armstrong/.puppetlabs/opt/puppet/cache/devices/hue_hub/state/state.yaml
      Error: Failed to apply catalog: No such file or directory @ dir_s_mkdir - /Users/david.armstrong/.puppetlabs/opt/puppet/cache/devices/hue_hub/state/state.yaml20180405-39306-c4hkf8.lock
      

      as per: https://confluence.puppetlabs.com/display/systemsEngineering/Cisco+IOS+Module+Development

      the target first needs registered with a puppet master before it can be managed.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tp Thomas Honey
              Reporter:
              david.armstrong David Armstrong
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support