Revision c45a0014
Added by Ohad Levy over 12 years ago
- ID c45a0014cee4b8a530ab25beb9a7b1eb5cd7b037
app/controllers/hosts_controller.rb | ||
---|---|---|
end
|
||
|
||
def puppetrun
|
||
return deny_access unless Setting[:puppetrun]
|
||
if GW::Puppet.run @host.name
|
||
notice "Successfully executed, check log files for more details"
|
||
else
|
Also available in: Unified diff
fixes #1167 - some setting values are ignored