summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJeff McCune <jeff@puppetlabs.com>2013-04-11 17:57:27 -0700
committerJeff McCune <jeff@puppetlabs.com>2013-04-11 17:57:27 -0700
commit62bcb8fcf0d20fc5ddc41eb4cd5d4cfc6cba4c37 (patch)
tree6cc20a64cd311a271f7a937d12e1a27c03fc81e9 /lib
parent8bf547991cf2ca65fa41fc3a15b75e88f6ac97fe (diff)
parentd2e692dce3794a57da78bb4624b182d1b379ae6a (diff)
downloadpuppet-stdlib-62bcb8fcf0d20fc5ddc41eb4cd5d4cfc6cba4c37.tar.gz
puppet-stdlib-62bcb8fcf0d20fc5ddc41eb4cd5d4cfc6cba4c37.tar.bz2
Merge branch 'philandstuff-master'
* philandstuff-master: Add behavior example for anchor refresh propagation Make the anchor type propagate refresh events closes #78
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/type/anchor.rb5
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