lib/rconf/configurator.rb in rconf-0.8.21 vs lib/rconf/configurator.rb in rconf-0.8.29
- old
+ new
@@ -1,6 +1,6 @@
-# Copyright (C) 2011 RightScale, Inc, All Rights Reserved Worldwide.
+# Copyright (C) 2011-2012 RightScale, Inc, All Rights Reserved Worldwide.
#
# THIS PROGRAM IS CONFIDENTIAL AND PROPRIETARY TO RIGHTSCALE
# AND CONSTITUTES A VALUABLE TRADE SECRET. Any unauthorized use,
# reproduction, modification, or disclosure of this program is
# strictly prohibited. Any use of this program by an authorized
@@ -134,10 +134,10 @@
must_configure = Profile.force_reconfigure?
if !must_configure && (only_if.nil? || instance_eval(only_if))
must_configure = (Profile.force_check? || sha != sig) && !check
end
Platform.dispatch(*args) { :run } if must_configure
- Profile.set_configurator_signature(key, sig)
+ Profile.set_configurator_signature(key, sig) unless aborting
true
end
# Called even if configuration is already done for steps that must
# always happen, do nothing by default