Restore the NtpServer parameter name
authorDan Prince <dprince@redhat.com>
Wed, 6 Jul 2016 13:59:18 +0000 (09:59 -0400)
committerDan Prince <dprince@redhat.com>
Wed, 6 Jul 2016 14:00:08 +0000 (10:00 -0400)
In 296bffde893dbbf36c62d664e24e2584b89b8070 we moved the NTP
into a composable service but changed the name of the parameter
to NtpServers. This will break upgrades for users of the previous
parameter name.

Closes-bug: #1599526

Change-Id: I896b9427416f01b603ac9cc4d8c9ebf5e019cb32

puppet/services/time/ntp.yaml

index dbef6f9..930dca4 100644 (file)
@@ -12,7 +12,7 @@ parameters:
     description: Mapping of service endpoint -> protocol. Typically set
                  via parameter_defaults in the resource registry.
     type: json
-  NtpServers:
+  NtpServer:
     default: []
     description: NTP servers
     type: comma_delimited_list
@@ -22,6 +22,6 @@ outputs:
     description: Role ntp using composable services.
     value:
       config_settings:
-        ntp::ntpservers: {get_param: NtpServers}
+        ntp::ntpservers: {get_param: NtpServer}
       step_config: |
-        include ::ntp
\ No newline at end of file
+        include ::ntp