Adding NTP to undercloud template
authorTrent Geerdes <trent.geerdes@hp.com>
Fri, 4 Apr 2014 18:43:16 +0000 (12:43 -0600)
committerTrent Geerdes <trent.geerdes@hp.com>
Fri, 4 Apr 2014 18:43:49 +0000 (12:43 -0600)
Change-Id: I30c0e175fda448a300cae0b233757d31ce73402f

undercloud-source.yaml

index 90724b7..80ca8dc 100644 (file)
@@ -59,6 +59,9 @@ Parameters:
     Description: The password for the nova service account, used by nova-api.
     Type: String
     NoEcho: true
+  NtpServer:
+    Type: String
+    Default: ''
   RabbitUserName:
     Default: guest
     Description: The username for RabbitMQ
@@ -217,6 +220,9 @@ Resources:
           enable_tunneling: 'False'
         service-password:
           Ref: NeutronPassword
+      ntp:
+        servers:
+            - {server: {Ref: NtpServer}, fudge: "stratum 0"}
       rabbit:
         host: 127.0.0.1
         username: