Allow setting a single NTP Server
authorClint Byrum <clint@fewbar.com>
Sun, 26 Jan 2014 06:13:48 +0000 (22:13 -0800)
committerClint Byrum <clint@fewbar.com>
Sun, 26 Jan 2014 06:15:10 +0000 (22:15 -0800)
We can allow multiple later when we have better tools for such things.

Change-Id: Ie902843c28f8a7258b207745653184784e3e9665
Partial-Bug: #1184486

overcloud-source.yaml

index 8e9c33f..358de7d 100644 (file)
@@ -100,6 +100,9 @@ Parameters:
   notcomputeImage:
     Type: String
     Default: overcloud-control
+  NtpServer:
+    Type: String
+    Default: ''
 Resources:
   AccessPolicy:
     Properties:
@@ -343,6 +346,9 @@ Resources:
                 - notcompute
                 - networks
         password: guest
+      ntp:
+        servers:
+            - {server: {Ref: NtpServer}, fudge: "stratum 0"}
   notcompute:
     Type: OS::Nova::Server
     Properties: