diff --git a/cftools/README b/cftools/README new file mode 100644 index 0000000000..52d655e357 --- /dev/null +++ b/cftools/README @@ -0,0 +1,13 @@ +There are several bootstrap methods for cloudformations: +1. Create image with application ready to go +2. Use cloud-init to run a startup script passed as userdata to the nova + server create +3. Use the CloudFormations instance helper scripts + +This directory contains files required for choice #3. + +cfn-init - Reads the AWS::CloudFormation::Init for the instance resource, + installs packages, and starts services +cfn-signal - Waits for an application to be ready before continuing, ie: + supporting the WaitCondition feature +cfn-hup - Handle updates from the UpdateStack CloudFormations API call diff --git a/cftools/cfn-hup b/cftools/cfn-hup new file mode 100755 index 0000000000..4d53738ad6 --- /dev/null +++ b/cftools/cfn-hup @@ -0,0 +1,16 @@ +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +""" +Implements cfn-hup CloudFormations functionality +""" diff --git a/cftools/cfn-init b/cftools/cfn-init new file mode 100755 index 0000000000..50bef475ba --- /dev/null +++ b/cftools/cfn-init @@ -0,0 +1,16 @@ +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +""" +Implements cfn-init CloudFormations functionality +""" diff --git a/cftools/cfn-signal b/cftools/cfn-signal new file mode 100755 index 0000000000..3445d60b53 --- /dev/null +++ b/cftools/cfn-signal @@ -0,0 +1,16 @@ +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +""" +Implements cfn-signal CloudFormations functionality +"""