Class: Nebula::Dsl::ChefSolo
- Inherits:
-
Object
- Object
- Nebula::Dsl::ChefSolo
- Defined in:
- lib/nebula/dsl.rb
Instance Attribute Summary collapse
-
#bootstrap_template ⇒ Object
readonly
Returns the value of attribute bootstrap_template.
-
#repo_path ⇒ Object
readonly
Returns the value of attribute repo_path.
Instance Method Summary collapse
- #bootstrap(template) ⇒ Object
-
#initialize(&block) ⇒ ChefSolo
constructor
A new instance of ChefSolo.
- #repo(path) ⇒ Object
Constructor Details
#initialize(&block) ⇒ ChefSolo
Returns a new instance of ChefSolo.
44 45 46 |
# File 'lib/nebula/dsl.rb', line 44 def initialize(&block) instance_eval(&block) end |
Instance Attribute Details
#bootstrap_template ⇒ Object (readonly)
Returns the value of attribute bootstrap_template.
42 43 44 |
# File 'lib/nebula/dsl.rb', line 42 def bootstrap_template @bootstrap_template end |
#repo_path ⇒ Object (readonly)
Returns the value of attribute repo_path.
42 43 44 |
# File 'lib/nebula/dsl.rb', line 42 def repo_path @repo_path end |
Instance Method Details
#bootstrap(template) ⇒ Object
52 53 54 |
# File 'lib/nebula/dsl.rb', line 52 def bootstrap(template) @bootstrap_template = template end |
#repo(path) ⇒ Object
48 49 50 |
# File 'lib/nebula/dsl.rb', line 48 def repo(path) @repo_path = path end |