supermarket icon indicating copy to clipboard operation
supermarket copied to clipboard

Internal omnibus cookbook should not write generated data to the install directory (/opt/supermarket)

Open nellshamrell opened this issue 8 years ago • 2 comments

It should instead write out temp files to var directory (/var/opt/supermarket).

nellshamrell avatar May 10 '16 21:05 nellshamrell

The following node attribute is available for resolving the var directory in recipes: node['supermarket']['var_directory']

schisamo avatar May 10 '16 21:05 schisamo

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

schisamo avatar May 10 '16 21:05 schisamo