[chef] Re: Re: Error Uploading Cookbooks


Chronological Thread 
  • From: Mark Pimentel < >
  • To:
  • Subject: [chef] Re: Re: Error Uploading Cookbooks
  • Date: Thu, 13 Dec 2012 14:05:13 -0500

What ever the bootstrap created is what is there.
When I changed the ownership of the chef-server-api-10.16.2 gem dir to chef user, it worked.  But I am still concerned as to why it would want to write there in the first place.

#
# Chef Server Config File
#
# Dynamically generated by Chef - local modifications will be replaced

log_level          :info
log_location       STDOUT
chef_server_url    "http://localhost:4000"
file_cache_path    "/var/cache/chef"
sandbox_path       "/var/cache/chef/sandboxes"
checksum_path      "/var/lib/chef/cookbook_index"
node_path          "/var/lib/chef/node"
cookbook_tarball_path  "/var/lib/chef/cookbook-tarballs"

validation_client_name "chef-validator"

web_ui_admin_user_name "admin"

supportdir = "/var/lib/chef"
solr_jetty_path File.join(supportdir, "solr", "jetty")
solr_data_path  File.join(supportdir, "solr", "data")
solr_home_path  File.join(supportdir, "solr", "home")
solr_heap_size  "256M"

solr_url        "http://localhost:8983"

umask 0022

signing_ca_cert    "/etc/chef/certificates/cert.pem"
signing_ca_key     "/etc/chef/certificates/key.pem"
signing_ca_user    "chef"
signing_ca_group   "chef"




On Thu, Dec 13, 2012 at 2:00 PM, Daniel DeLeo < " target="_blank"> > wrote:

On Thursday, December 13, 2012 at 7:42 AM, Mark Pimentel wrote:

I am getting an error uploading cookbooks to a freshly installed chef-server 10.16.2 to an centos 6.3 box.  Not so sure why it is trying to write to the gem directory.  Would that have something to do with the fact it cannot write to that location?

Any idea?

Can you post your server.rb? Do you have any custom setting for sandbox_path or checksum_path?

-- 
Daniel DeLeo
 



--
Thanks,

Mark



Archive powered by MHonArc 2.6.16.

§