Move the main template files for defalut services to new syntax generation
authorCarlos Camacho <ccamacho@redhat.com>
Tue, 4 Oct 2016 16:28:39 +0000 (18:28 +0200)
committerSteven Hardy <shardy@redhat.com>
Tue, 4 Oct 2016 20:15:33 +0000 (20:15 +0000)
When generating these templates, we should
create them with the "-role" appended as they will
be generated from a role.role.j2.yaml file.

i.e. role.role.j2.yaml will generate <service>-role.yaml
     config.role.j2.yaml will generate <service>-config.yaml

Partial-Bug: #1626976
Change-Id: I614dc462fd7fc088b67634d489d8e7b68e7d4ab1

overcloud-resource-registry-puppet.j2.yaml
puppet/blockstorage-role.yaml [moved from puppet/blockstorage.yaml with 100% similarity]
puppet/cephstorage-role.yaml [moved from puppet/cephstorage.yaml with 100% similarity]
puppet/compute-role.yaml [moved from puppet/compute.yaml with 100% similarity]
puppet/controller-role.yaml [moved from puppet/controller.yaml with 100% similarity]
puppet/objectstorage-role.yaml [moved from puppet/objectstorage.yaml with 100% similarity]

index 6c30d3f..d4a5c6b 100644 (file)
@@ -10,7 +10,7 @@ resource_registry:
   OS::TripleO::Tasks::PackageUpdate: extraconfig/tasks/yum_update.yaml
 
 {% for role in roles %}
-  OS::TripleO::{{role.name}}: puppet/{{role.name.lower()}}.yaml
+  OS::TripleO::{{role.name}}: puppet/{{role.name.lower()}}-role.yaml
   OS::TripleO::{{role.name}}Config: puppet/{{role.name.lower()}}-config.yaml
   OS::TripleO::Tasks::{{role.name}}PreConfig: OS::Heat::None
   OS::TripleO::Tasks::{{role.name}}PostConfig: OS::Heat::None
similarity index 100%
rename from puppet/compute.yaml
rename to puppet/compute-role.yaml