Class: Nebula::Dsl::ChefSolo

Inherits:
Object
  • Object
show all
Defined in:
lib/nebula/dsl.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_templateObject (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_pathObject (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