Sha256: 745a2d93af99c6e87a7bec01dca493b0fa73420d1aa2e075614ab2cb40f5bd07
Contents?: true
Size: 860 Bytes
Versions: 6
Compression:
Stored size: 860 Bytes
Contents
module PoolParty module Provision class Chef def self.commands debug_flag = "-l debug" if debugging? [ "mkdir -p /etc/chef/cookbooks /etc/chef/cache", "cp -R /var/poolparty/dr_configure/chef/cookbooks/* /etc/chef/cookbooks", "cp /var/poolparty/dr_configure/chef/solo.rb /etc/chef/solo.rb", "cp /var/poolparty/dr_configure/chef/dna.json /etc/chef/dna.json", "/usr/bin/chef-solo #{debug_flag} -c /etc/chef/solo.rb -j /etc/chef/dna.json" ] end def self.files_to_upload [ "#{Default.tmp_path}/dr_configure/chef/solo.rb", "#{Default.tmp_path}/dr_configure/chef/dna.json", "#{Default.base_config_directory}/chef/solo.rb", "#{Default.base_config_directory}/chef/dna.json" ] end end end end
Version data entries
6 entries across 6 versions & 2 rubygems