Class: ChefCap::Generators::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/chef_cap/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#installObject



6
7
8
9
10
11
# File 'lib/generators/chef_cap/install_generator.rb', line 6

def install
  copy_file "Capfile", "Capfile"
  directory "chef/cookbooks/gems/recipes"
  copy_file "chef/node.json", "chef/node.json"
  copy_file "chef/cookbooks/gems/recipes/default.rb", "chef/cookbooks/gems/recipes/default.rb"
end