Project

General

Profile

« Previous | Next » 

Revision 7ee08e59

Added by Ohad Levy over 13 years ago

  • ID 7ee08e59ed204a904d67de561720880cdad8582b

Fixes #407 - Unable to trigger puppet runs

View differences:

app/controllers/hosts_controller.rb
end
def puppetrun
if GW::Puppet.run host.name
if GW::Puppet.run @host.name
flash[:foreman_notice] = "Successfully executed, check log files for more details"
else
flash[:foreman_error] = "Failed, check log files"

Also available in: Unified diff