Sha256: e4270e890a1dc4f83f5bbdb2f17e692e1cab7c78a920dead29694e07811a6978

Contents?: true

Size: 574 Bytes

Versions: 5

Compression:

Stored size: 574 Bytes

Contents

module PoolParty
  module Provision
    
    class Chef
      def self.commands
        [
          "mkdir -p /etc/chef/cookbooks /etc/chef/cache",
          "cp -R /var/poolparty/dr_configure/chef/recipes/* /etc/chef/cookbooks",
          "cp /var/poolparty/dr_configure/chef_config.rb /etc/chef/solo.rb",
          "/usr/bin/chef-solo -c /etc/chef/solo.rb -j /etc/chef/dna.json"
        ]
      end
      def self.files_to_upload
        [ 
          "#{Default.tmp_path}/chef_config.rb",
          "#{Default.tmp_path}/dna.json"
        ]
      end
    end
    
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
auser-poolparty-1.1.1 lib/poolparty/provision/configurations/chef.rb
auser-poolparty-1.1.3 lib/poolparty/provision/configurations/chef.rb
auser-poolparty-1.1.4 lib/poolparty/provision/configurations/chef.rb
fairchild-poolparty-1.1.3 lib/poolparty/provision/configurations/chef.rb
fairchild-poolparty-1.1.4 lib/poolparty/provision/configurations/chef.rb