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

Warning for dependency conflict with purging should specify conflicting resource

    XMLWordPrintable

    Details

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

      Description

      Given the following line of puppet code:

      resources { "hodor": purge => true, notify => Service["ntpd"] }
      

      I will get the following warning:

      Warning: /Stage[main]/Main/Node[centos7]/Hodor[hodor]: Service[ntpd] still depends on me -- not purging
      

      The depends on me element of this message is not quite clear; It seems like it should specify the resource specifically. In this case, it would be hodor.

      This was merged into the puppet code here: https://github.com/puppetlabs/puppet/commit/9aaed38999ee62a03520129128d699e09a1d2f7d#diff-466a7aa2dfd3724f006c1984f9ce87acR108

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              tony.vu Tony Vu
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support