lib/stack.rb in stack-kicker-0.0.14 vs lib/stack.rb in stack-kicker-0.0.15
- old
+ new
@@ -826,11 +826,11 @@
# replace any tokens in the argument
public_ip = Stack.get_public_ip(config, hostname)
post_install_args = role_details[:post_install_args].sub(%q!%PUBLIC_IP%!, public_ip)
# we system this, so that the script can give live feed back
- Logger.info "Executing '#{post_install_script_abs} #{post_install_args]}' in #{post_install_cwd_abs} as the post_install_script"
- system("cd #{post_install_cwd_abs} ; #{post_install_script_abs} #{post_install_args]}")
+ Logger.info "Executing '#{post_install_script_abs} #{post_install_args}' in #{post_install_cwd_abs} as the post_install_script"
+ system("cd #{post_install_cwd_abs} ; #{post_install_script_abs} #{post_install_args}")
end
else
Logger.info "Skipped role #{role}"
end
end