Skip to content

Conversation

@ashleygould
Copy link

Pull Request (PR) description

Instead of relying on file attribute validate_cmd I have added a secondary exec to validate the intermediate file.
This added exec is triggered by the file resource and in turn triggers the keytool import exec.
This method allows for the case where the intermediate file does not yet exist.

This is a more clunky solution, but it seems to work in my environment.
I'm not sure how to write an rspec test for this.

This Pull Request (PR) fixes the following issues

Fixes #76

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.

validate_cmd failing when file resouce is absent

1 participant