Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

MCC-320723/bootstrap without chef #16

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

Conversation

jbence
Copy link
Contributor

@jbence jbence commented Oct 23, 2017

This is a lengthy change. On the plus side, it includes changes for Windows machines, updated specs, and documentation on the Ansible support.

The trigger for Ansible support is just like that for Chef: include a certain variable in the call to the generate() method. For ansible, this is "tower_url", where an initial POST request is made. The body of this POST request is by default an empty JSON hash, but this can be changed by supplying a script to create the body to be sent.

This change also introduces the parameter "startup_failed_command". Previously, we had updated bootscript to mark nodes as unhealthy using the AWS CLI package. Perhaps this is not desired, or perhaps clients may want to do something else. Specifying a template under this key allows the caller to determine what, if anything, is done in the event the startup command fails.

@harryw @benton I am continuing to work on this change, but the end is close, so I'm opening this now to get some feedback.

@jbence
Copy link
Contributor Author

jbence commented Oct 23, 2017

This request is against master, as develop appears to have been neglected. When the next release of bootscript is performed, I will bring the develop branch back in line in the usual git-flow approach.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant