actually execute puppet, derp
This commit is contained in:
parent
128a393a61
commit
f58a41da14
@ -12,7 +12,7 @@ module ::Guard
|
||||
end
|
||||
|
||||
def run_all
|
||||
UI.info msg = "Applying Puppet configuration..."
|
||||
UI.info(msg = "Applying Puppet configuration...")
|
||||
Notifier.notify msg, :title => "Puppet Config", :image => :pending
|
||||
if Runner.new(@options).run != 0
|
||||
Notifier.notify "Puppet config failure!", :title => "Puppet Config", :image => :failed
|
||||
|
@ -15,7 +15,8 @@ module Guard
|
||||
end
|
||||
|
||||
def run
|
||||
::Puppet::Util::CommandLine.new('puppet', command_line_params)
|
||||
::Puppet::Util::CommandLine.new('puppet', command_line_params).execute
|
||||
0
|
||||
rescue SystemExit => e
|
||||
e.status
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user