Class: ForemanMco::Command::PuppetDisable

Inherits:
Base
  • Object
show all
Defined in:
app/models/foreman_mco/command/puppet_commands.rb

Instance Attribute Summary

Attributes inherited from Base

#filters

Instance Method Summary collapse

Methods inherited from Base

#execute, #initialize, #mco_proxy

Constructor Details

This class inherits a constructor from ForemanMco::Command::Base

Instance Method Details

#remote_callObject



23
24
25
# File 'app/models/foreman_mco/command/puppet_commands.rb', line 23

def remote_call
  mco_proxy.puppet_disable(filters)
end

#to_sObject



27
28
29
# File 'app/models/foreman_mco/command/puppet_commands.rb', line 27

def to_s
  "puppet stop"
end