Class: Appboost::ChefSoloGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Appboost::ChefSoloGenerator
- Defined in:
- lib/generators/appboost/chef_solo_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_files ⇒ Object
42 43 44 45 46 47 48 49 |
# File 'lib/generators/appboost/chef_solo_generator.rb', line 42 def copy_files template "Cheffile.erb", "chef/Cheffile" template "Vagrantfile.erb", "chef/Vagrantfile" template "node.json.erb", "chef/nodes/#{host}.json" template "user.json.erb", "chef/data_bags/users/#{[:app_user]}.json" copy_file "chef.gitignore", "chef/.gitignore" end |