Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jgrevich
Copy link
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.

__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