Method: Guard::Puppet#run_all
- Defined in:
- lib/guard/puppet.rb
#run_all ⇒ Object
17 18 19 20 21 22 23 24 25 26 |
# File 'lib/guard/puppet.rb', line 17 def run_all UI.info(msg = "Applying Puppet configuration...") Notifier.notify msg, :title => "Puppet Config", :image => :pending if Runner.new().run != 0 Notifier.notify(msg = "Puppet config failure!", :title => "Puppet Config", :image => :failed) else Notifier.notify(msg = "Puppet config reapplied successfully!", :title => "Puppet Config") end UI.info(msg) end |