Fix roles dict object' has no attribute 'lower' error
authorHarald Jensas <harald.jensas@gmail.com>
Tue, 20 Jun 2017 11:37:26 +0000 (13:37 +0200)
committerHarald Jensas <harald.jensas@gmail.com>
Tue, 20 Jun 2017 11:38:27 +0000 (13:38 +0200)
Change-Id: I4d6a8b53bf07892ba4ae2579f192dc21297ad110
Closes-Bug: #1699026

puppet/role.role.j2.yaml

index 4911fbe..3be2861 100644 (file)
@@ -175,7 +175,7 @@ conditions:
 
 resources:
   {{role}}:
-    type: OS::TripleO::{{role.name}}Server
+    type: OS::TripleO::{{role}}Server
     metadata:
       os-collect-config:
         command: {get_param: ConfigCommand}