Class: ForemanMco::Command::PuppetEnable

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



13
14
15
# File 'app/models/foreman_mco/command/puppet_commands.rb', line 13

def remote_call
  mco_proxy.puppet_enable(filters)
end

#to_sObject



17
18
19
# File 'app/models/foreman_mco/command/puppet_commands.rb', line 17

def to_s
  "puppet start"
end