Class: Nova::Remote::Fake::OperatingSystem Abstract
- Inherits:
-
Object
- Object
- Nova::Remote::Fake::OperatingSystem
- Defined in:
- lib/nova/remote/fake/operating_system.rb
Overview
This class is abstract.
Handles operating system tasks like installing packages or creating users.
Instance Method Summary collapse
-
#create_user(name, options = {}) ⇒ Boolean
abstract
Creates a user with the given name and options.
-
#install_packages(packages) ⇒ Boolean
abstract
Installs packages for the corresponding operating system.
Instance Method Details
#create_user(name, options = {}) ⇒ Boolean
This method is abstract.
Note:
Does nothing. As such, it always returns false.
Creates a user with the given name and options.
26 27 28 |
# File 'lib/nova/remote/fake/operating_system.rb', line 26 def create_user(name, = {}) false end |
#install_packages(packages) ⇒ Boolean
This method is abstract.
Note:
Does nothing. As such, it always returns false.
Installs packages for the corresponding operating system.
45 46 47 |
# File 'lib/nova/remote/fake/operating_system.rb', line 45 def install_packages(packages) false end |