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

unhelpfull error message when parent directory is missing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: PUP 3.8.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Template:

      Description

      when creating a file, if the parent directory is missing a misleading error message is displayed, for example in the next case /etc/munin/ was missing and I tried to create /etc/munin/munin-node.conf

      # puppetd --test
      notice: Ignoring cache
      info: Caching catalog at /var/lib/puppet/state/localconfig.yaml
      notice: Starting catalog run
      err: //Node[engine2]/engine/packages/Set_file[/etc/munin/munin-node.conf]/File[/etc/munin/munin-node.conf]/ensure: change from absent to file failed: Could not set file on ensure: No such file or directory - /etc/munin/munin-node.conf.puppettmp at /etc/puppet/manifests/site.pp:7
      notice: //Node[engine2]/engine/packages/Package[munin-node]: Dependency file[/etc/munin/munin-node.conf] has 1 failures
      warning: //Node[engine2]/engine/packages/Package[munin-node]: Skipping because of failed dependencies
      notice: Finished catalog run in 3.95 seconds
      

        Attachments

          Activity

            People

            Assignee:
            eric.sorenson Eric Sorenson
            Reporter:
            redmine.exporter redmine.exporter
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support