lib/rconf/configurator.rb in rconf-0.6.5 vs lib/rconf/configurator.rb in rconf-0.6.10
- old
+ new
@@ -119,13 +119,23 @@
# === Return
# true:: Always return true
def run(*args)
init
sha = Profile.configurator_signature(self.class.key)
- if sha != signature
+ sig = signature
+ if sha != sig
Platform.dispatch(*args) { :run }
- Profile.set_configurator_signature(self.class.key, signature)
+ Profile.set_configurator_signature(self.class.key, sig)
end
+ true
+ end
+
+ # Called even if configuration is already done for steps that must
+ # always happen, do nothing by default
+ #
+ # === Return
+ # true:: Always return true
+ def post_process
true
end
# Calculate unique SHA for current settings
#