Skip to content

Set chef tmp path to a location that persists post execution of partition.sh#43

Open
jgrevich wants to merge 2 commits intomasterfrom
jjg/fix/chef_tmp_path
Open

Set chef tmp path to a location that persists post execution of partition.sh#43
jgrevich wants to merge 2 commits intomasterfrom
jjg/fix/chef_tmp_path

Conversation

@jgrevich
Copy link
Copy Markdown
Member

@jgrevich jgrevich commented Jul 9, 2016

Why
By default chef was using the /tmp directory which gets deleted when the partition.sh script is executed causing the run to fail.

How
Set the staging directory to a location that is not affected by the partitioning script. This also adds a command to the inline shell provisioner so that it removes the remnants from the chef run.

jgrevich added 2 commits July 7, 2016 19:20
__Why__
By default chef was using the /tmp which gets deleted when the partition.sh
script is run causing the run to fail.

__How__
Set the staging directory to a location that is not affected by the partitioning
script.
This removes any remaining files from chef that are no longer needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant