Class: Vermillion::Controller::Update
- Includes:
- Helper::ApiCommunication
- Defined in:
- lib/client/controller/update.rb
Constant Summary
Constants inherited from Base
Base::OK, Base::QUIT, Base::QUIT_SOFT
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#all ⇒ Object
Update all sites in the manifest.
-
#config(server) ⇒ Object
- Update the configuration manifest for one server Params:
server
-
Symbol representing the server you want to update.
- Update the configuration manifest for one server Params:
-
#one(server) ⇒ Object
- Update just one server Params:
server
-
Symbol representing the server you want to update.
- Update just one server Params:
Methods included from Helper::ApiCommunication
Methods inherited from Base
#can_exec?, #exec, #initialize, #post_exec, #pre_exec, #sample
Constructor Details
This class inherits a constructor from Vermillion::Controller::Base
Instance Method Details
#all ⇒ Object
Update all sites in the manifest
7 8 9 |
# File 'lib/client/controller/update.rb', line 7 def all send_to_all(:update) end |
#config(server) ⇒ Object
Update the configuration manifest for one server Params:
server
-
Symbol representing the server you want to update
21 22 23 |
# File 'lib/client/controller/update.rb', line 21 def config(server) send_to_one(server, :update_config) end |
#one(server) ⇒ Object
Update just one server Params:
server
-
Symbol representing the server you want to update
14 15 16 |
# File 'lib/client/controller/update.rb', line 14 def one(server) send_to_one(server, :update) end |