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.3 lib/generators/chef_cap/install_generator.rb
chef_cap-0.3.2 lib/generators/chef_cap/install_generator.rb
chef_cap-0.3.1 lib/generators/chef_cap/install_generator.rb
chef_cap-0.3.0 lib/generators/chef_cap/install_generator.rb
chef_cap-0.2.9 lib/generators/chef_cap/install_generator.rb
chef_cap-0.2.8 lib/generators/chef_cap/install_generator.rb
chef_cap-0.2.7 lib/generators/chef_cap/install_generator.rb
chef_cap-0.2.6 lib/generators/chef_cap/install_generator.rb
chef_cap-0.2.5 lib/generators/chef_cap/install_generator.rb
chef_cap-0.2.4 lib/generators/chef_cap/install_generator.rb
chef_cap-0.2.3 lib/generators/chef_cap/install_generator.rb
chef_cap-0.2.2 lib/generators/chef_cap/install_generator.rb
chef_cap-0.2.1 lib/generators/chef_cap/install_generator.rb
chef_cap-0.1.8 lib/generators/chef_cap/install_generator.rb
chef_cap-0.1.7 lib/generators/chef_cap/install_generator.rb
chef_cap-0.1.6 lib/generators/chef_cap/install_generator.rb
chef_cap-0.1.5 lib/generators/chef_cap/install_generator.rb
chef_cap-0.1.4 lib/generators/chef_cap/install_generator.rb
chef_cap-0.1.3 lib/generators/chef_cap/install_generator.rb
chef_cap-0.1.2 lib/generators/chef_cap/install_generator.rb