lib/dev-lxc/server.rb in dev-lxc-1.1.1 vs lib/dev-lxc/server.rb in dev-lxc-1.1.2
- old
+ new
@@ -375,10 +375,12 @@
node_name "pivotal"
client_key "\#{current_dir}/pivotal.pem"
cookbook_path Dir.pwd + "/cookbooks"
knife[:chef_repo_path] = Dir.pwd
+
+ssl_verify_mode :verify_none
)
IO.write("#{@server.config_item('lxc.rootfs')}/root/chef-repo/.chef/pivotal.rb", pivotal_rb)
end
knife_rb = %Q(
@@ -392,9 +394,11 @@
validation_client_name "#{validator_name}"
validation_key "\#{current_dir}/#{validator_name}.pem"
cookbook_path Dir.pwd + "/cookbooks"
knife[:chef_repo_path] = Dir.pwd
+
+ssl_verify_mode :verify_none
)
IO.write("#{@server.config_item('lxc.rootfs')}/root/chef-repo/.chef/knife.rb", knife_rb)
case @chef_server_type
when 'private-chef'