summaryrefslogtreecommitdiffstats
path: root/lib/puppet/node
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-11-14 19:27:50 -0600
committerLuke Kanies <luke@madstop.com>2008-11-15 02:25:47 -0600
commit053d7bfa678b152c42bf3fcbccaaa86aa578c39b (patch)
tree69904d2ac68767bf680b397d08ed066993e3d67d /lib/puppet/node
parenta8d9976d0a11c4dc50b2ef49c63f3f745cb4eccb (diff)
downloadpuppet-053d7bfa678b152c42bf3fcbccaaa86aa578c39b.tar.gz
puppet-053d7bfa678b152c42bf3fcbccaaa86aa578c39b.tar.xz
puppet-053d7bfa678b152c42bf3fcbccaaa86aa578c39b.zip
These changes are all about making sure file data is expired when appropriate.
All file tests now pass. Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib/puppet/node')
-rw-r--r--lib/puppet/node/catalog.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/puppet/node/catalog.rb b/lib/puppet/node/catalog.rb
index e82e63444..f6c0a1959 100644
--- a/lib/puppet/node/catalog.rb
+++ b/lib/puppet/node/catalog.rb
@@ -118,6 +118,10 @@ class Puppet::Node::Catalog < Puppet::SimpleGraph
def apply(options = {})
@applying = true
+ # Expire all of the resource data -- this ensures that all
+ # data we're operating against is entirely current.
+ expire()
+
Puppet::Util::Storage.load if host_config?
transaction = Puppet::Transaction.new(self)