Sha256: 0effa64dba96d35e397ff4294d7921c1952a2ef146d729e5f1f85a4b9538e481

Contents?: true

Size: 437 Bytes

Versions: 43

Compression:

Stored size: 437 Bytes

Contents

module ChefCap
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path('../templates', __FILE__)

      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
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
chef_cap-0.3.23 lib/generators/chef_cap/install_generator.rb
chef_cap-0.3.22 lib/generators/chef_cap/install_generator.rb
chef_cap-0.3.21 lib/generators/chef_cap/install_generator.rb
chef_cap-0.3.20 lib/generators/chef_cap/install_generator.rb
chef_cap-0.3.19 lib/generators/chef_cap/install_generator.rb
chef_cap-0.3.18 lib/generators/chef_cap/install_generator.rb
chef_cap-0.3.17 lib/generators/chef_cap/install_generator.rb
chef_cap-0.3.16 lib/generators/chef_cap/install_generator.rb
chef_cap-0.3.15 lib/generators/chef_cap/install_generator.rb
chef_cap-0.3.14 lib/generators/chef_cap/install_generator.rb
chef_cap-0.3.13 lib/generators/chef_cap/install_generator.rb
chef_cap-0.3.12 lib/generators/chef_cap/install_generator.rb
chef_cap-0.3.11 lib/generators/chef_cap/install_generator.rb
chef_cap-0.3.10 lib/generators/chef_cap/install_generator.rb
chef_cap-0.3.9 lib/generators/chef_cap/install_generator.rb
chef_cap-0.3.8 lib/generators/chef_cap/install_generator.rb
chef_cap-0.3.7 lib/generators/chef_cap/install_generator.rb
chef_cap-0.3.6 lib/generators/chef_cap/install_generator.rb
chef_cap-0.3.5 lib/generators/chef_cap/install_generator.rb
chef_cap-0.3.4 lib/generators/chef_cap/install_generator.rb