components/ruby/puppet-modules/puppetlabs-ntp/patches/02-params.patch
author Drew Fisher <drew.fisher@oracle.com>
Thu, 01 Oct 2015 15:00:59 -0700
changeset 4911 6590570733a1
permissions -rw-r--r--
PSARC/2015/368 Common Puppet Modules 21691386 Request to integrate common puppet modules into Userland

Patch to add Solaris 12 to the list of supported OSes.  This patch has
been submitted upstream.

--- puppetlabs-ntp-3.3.0/manifests/params.pp.orig	2015-05-13 13:45:40.455925343 -0600
+++ puppetlabs-ntp-3.3.0/manifests/params.pp	2015-05-13 13:45:30.253178880 -0600
@@ -157,7 +157,8 @@ class ntp::params {
       $keys_file     = '/etc/inet/ntp.keys'
       $package_name  = $::operatingsystemrelease ? {
         /^(5\.10|10|10_u\d+)$/ => [ 'SUNWntpr', 'SUNWntpu' ],
-        /^(5\.11|11|11\.\d+)$/ => [ 'service/network/ntp' ]
+        /^(5\.11|11|11\.\d+)$/ => [ 'service/network/ntp' ],
+        /^(5\.12|12|12\.\d+)$/ => [ 'service/network/ntp' ]
       }
       $restrict      = [
         'default kod nomodify notrap nopeer noquery',