diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-09-27 17:02:14 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-09-27 17:02:14 +0000 |
commit | 98028ce5399d471d496e588cf85f8359f14d6d48 (patch) | |
tree | 107f4cfcf513a7ffef1dcb1c94b940f8a3fbbc67 | |
parent | fd9b2f6293b0d4c9a6d1296ea8567701352aec67 (diff) | |
download | puppet-98028ce5399d471d496e588cf85f8359f14d6d48.tar.gz puppet-98028ce5399d471d496e588cf85f8359f14d6d48.tar.xz puppet-98028ce5399d471d496e588cf85f8359f14d6d48.zip |
Adding flush functionality as requested by Scott Seago
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1697 980ebf18-57e1-0310-9a29-db15c13687c0
-rw-r--r-- | lib/puppet/transaction.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/puppet/transaction.rb b/lib/puppet/transaction.rb index e95b3fdd9..89b321f99 100644 --- a/lib/puppet/transaction.rb +++ b/lib/puppet/transaction.rb @@ -101,6 +101,11 @@ class Transaction unless changes.empty? # Record when we last synced child.cache(:synced, Time.now) + + # Flush, if appropriate + if child.respond_to?(:flush) + child.flush + end end childevents |