diff options
author | Philip Potter <philipgpotter@gmail.com> | 2012-07-12 17:05:23 +0100 |
---|---|---|
committer | Jeff McCune <jeff@puppetlabs.com> | 2013-04-11 17:55:11 -0700 |
commit | ddad4455cc914862f16c2e8cae96812e244b0a1d (patch) | |
tree | 1605dd712d6aae08d3ff0e9ea49c66686b48aa5d | |
parent | 8bf547991cf2ca65fa41fc3a15b75e88f6ac97fe (diff) | |
download | puppet-stdlib-ddad4455cc914862f16c2e8cae96812e244b0a1d.tar.gz puppet-stdlib-ddad4455cc914862f16c2e8cae96812e244b0a1d.tar.bz2 |
Make the anchor type propagate refresh events
Without this patch the anchor resource does not propogate refresh
events, making it difficult to subscribe to a class which has been
notified by another resource.
-rw-r--r-- | lib/puppet/type/anchor.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/puppet/type/anchor.rb b/lib/puppet/type/anchor.rb index 6b81732..fe1e5aa 100644 --- a/lib/puppet/type/anchor.rb +++ b/lib/puppet/type/anchor.rb @@ -38,4 +38,9 @@ Puppet::Type.newtype(:anchor) do desc "The name of the anchor resource." end + def refresh + # We don't do anything with them, but we need this to + # show that we are "refresh aware" and not break the + # chain of propagation. + end end |