summaryrefslogtreecommitdiffstats
path: root/lib/puppet/resource/catalog.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/resource/catalog.rb')
-rw-r--r--lib/puppet/resource/catalog.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/puppet/resource/catalog.rb b/lib/puppet/resource/catalog.rb
index b5f173718..79888529f 100644
--- a/lib/puppet/resource/catalog.rb
+++ b/lib/puppet/resource/catalog.rb
@@ -129,7 +129,7 @@ class Puppet::Resource::Catalog < Puppet::SimpleGraph
# Expire all of the resource data -- this ensures that all
# data we're operating against is entirely current.
- expire()
+ expire
Puppet::Util::Storage.load if host_config?
transaction = Puppet::Transaction.new(self)
@@ -159,7 +159,7 @@ class Puppet::Resource::Catalog < Puppet::SimpleGraph
return transaction
ensure
@applying = false
- cleanup()
+ cleanup
end
# Are we in the middle of applying the catalog?
@@ -283,7 +283,7 @@ class Puppet::Resource::Catalog < Puppet::SimpleGraph
if block_given?
yield(self)
- finalize()
+ finalize
end
end
@@ -497,7 +497,7 @@ class Puppet::Resource::Catalog < Puppet::SimpleGraph
def cleanup
# Expire any cached data the resources are keeping.
- expire()
+ expire
end
# Verify that the given resource isn't defined elsewhere.