supermarket
supermarket copied to clipboard
Internal omnibus cookbook should not write generated data to the install directory (/opt/supermarket)
It should instead write out temp files to var directory (/var/opt/supermarket
).
The following node attribute is available for resolving the var directory in recipes: node['supermarket']['var_directory']
You'll also want to ensure the Chef config used by the internal CCR that supermarket-ctl reconfigure
invokes points its various cache directories at /var/opt/supermarket/*
. A good example of this can be seen here:
https://github.com/chef/chef-server/blob/master/omnibus/config/software/private-chef-cookbooks.rb#L65-L66