]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
Add behavior example for anchor refresh propagation
authorJeff McCune <jeff@puppetlabs.com>
Fri, 12 Apr 2013 00:55:40 +0000 (17:55 -0700)
committerJeff McCune <jeff@puppetlabs.com>
Fri, 12 Apr 2013 00:55:40 +0000 (17:55 -0700)
commitd2e692dce3794a57da78bb4624b182d1b379ae6a
tree6cc20a64cd311a271f7a937d12e1a27c03fc81e9
parentddad4455cc914862f16c2e8cae96812e244b0a1d
Add behavior example for anchor refresh propagation

Without this patch we don't have a spec test to make sure the anchor
resource type passes notify events along.  This patch addresses the
problem by using RSpec Puppet to build a catalog, apply the catalog,
then pull a resource out of the transaction and make sure the resource
was triggered.
spec/classes/anchor_spec.rb [new file with mode: 0644]