aboutsummaryrefslogtreecommitdiffstats
path: root/deployed-server/deployed-server-bootstrap-centos.yaml
diff options
context:
space:
mode:
authorJames Slagle <jslagle@redhat.com>2016-12-15 13:26:38 -0500
committerJames Slagle <jslagle@redhat.com>2017-01-16 10:48:00 -0500
commitc913d9b683af205cea0d4d7498d50e5931fca08a (patch)
treeec3364c2f81b0fde3b9025ae1d421e8a4f9b141c /deployed-server/deployed-server-bootstrap-centos.yaml
parent15c358de1c8a2d338953a712573c85fb451f05f3 (diff)
Deployed server bootstrap via Heat
Adds an environment file, template, and script that can be used to do initial bootstrapping of deployed servers during NodeExtraConfig. It is meant to install and configure the initial dependencies needed to apply the rest of the OpenStack configuration via Heat. Enabling yum repos and installing the initial python-heat-agent package would still have to be manual steps when using this environment. But the goal is to keep those manual steps to a minimum and automate as much as possible in deployed-server-bootstrap.sh. Along with setting EnablePackageInstall: True, this could eventually replace bootstrap-overcloud-full.sh from tripleo-ci. Partially-implements: blueprint split-stack-software-configuration Change-Id: I6be94604a46382e6288df1b36b9de8fab58696cc
Diffstat (limited to 'deployed-server/deployed-server-bootstrap-centos.yaml')
-rw-r--r--deployed-server/deployed-server-bootstrap-centos.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/deployed-server/deployed-server-bootstrap-centos.yaml b/deployed-server/deployed-server-bootstrap-centos.yaml
new file mode 100644
index 00000000..ac537386
--- /dev/null
+++ b/deployed-server/deployed-server-bootstrap-centos.yaml
@@ -0,0 +1,22 @@
+heat_template_version: 2014-10-16
+
+description: 'Deployed Server Bootstrap Config'
+
+parameters:
+
+ server:
+ type: string
+
+resources:
+
+ DeployedServerBootstrapConfig:
+ type: OS::Heat::SoftwareConfig
+ properties:
+ group: script
+ config: {get_file: deployed-server-bootstrap-centos.sh}
+
+ DeployedServerBootstrapDeployment:
+ type: OS::Heat::SoftwareDeployment
+ properties:
+ config: {get_resource: DeployedServerBootstrapConfig}
+ server: {get_param: server}