From 158f33fe6098e615ebe91dc562b7c3d61cf06763 Mon Sep 17 00:00:00 2001 From: Drew Fisher Date: Sat, 20 Jun 2015 09:25:18 -0600 Subject: [PATCH] - add Solaris 12 support --- README.markdown | 2 +- manifests/params.pp | 3 ++- metadata.json | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.markdown b/README.markdown index 353923f16..7a3958d49 100644 --- a/README.markdown +++ b/README.markdown @@ -291,7 +291,7 @@ Specifies the stratum the server should operate at when using the undisciplined ##Limitations -This module has been tested on [all PE-supported platforms](https://forge.puppetlabs.com/supported#compat-matrix), and no issues have been identified. +This module has been tested on [all PE-supported platforms](https://forge.puppetlabs.com/supported#compat-matrix), and no issues have been identified. Additionally, it is tested (but not supported) on Solaris 12. ##Development diff --git a/manifests/params.pp b/manifests/params.pp index 7a6d79c66..79249e6db 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -181,7 +181,8 @@ $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', diff --git a/metadata.json b/metadata.json index e3515d3e9..6477b0021 100644 --- a/metadata.json +++ b/metadata.json @@ -66,7 +66,8 @@ { "operatingsystem": "Solaris", "operatingsystemrelease": [ - "11" + "11", + "12" ] }, {