Class: AMIsCommand

Inherits:
Clamp::Command
  • Object
show all
Defined in:
lib/dew/commands/ami.rb

Instance Method Summary collapse

Instance Method Details

#controllerObject



9
10
11
# File 'lib/dew/commands/ami.rb', line 9

def controller
  @controller ||= AMIsController.new
end

#puppet_node_filename(node_name) ⇒ Object



5
6
7
# File 'lib/dew/commands/ami.rb', line 5

def puppet_node_filename node_name
  File.join(ENV['HOME'], '.dew', 'puppet', 'manifests', 'nodes', "#{node_name}.pp")
end