From acc093db3243ac4433c6719e8afc01b8ee2af247 Mon Sep 17 00:00:00 2001 From: Justin Hennessy Date: Sun, 30 Mar 2014 21:23:43 +1000 Subject: [PATCH] Fixed lint errors --- manifests/package/solaris.pp | 6 +++--- manifests/service.pp | 2 +- tests/vhost_ssl.pp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/manifests/package/solaris.pp b/manifests/package/solaris.pp index fb1386c..63cb7df 100644 --- a/manifests/package/solaris.pp +++ b/manifests/package/solaris.pp @@ -7,7 +7,7 @@ # *package_name* # Needs to be specified. SFEnginx,CSWnginx depending on where you get it. # -# *package_source* +# *package_source* # Needed in case of Solaris 10. # # Actions: @@ -23,7 +23,7 @@ class nginx::package::solaris( $package_ensure = 'present' ){ package { $package_name: - ensure => $package_ensure, - source => $package_source + ensure => $package_ensure, + source => $package_source } } diff --git a/manifests/service.pp b/manifests/service.pp index 9ec8993..2818532 100644 --- a/manifests/service.pp +++ b/manifests/service.pp @@ -18,7 +18,7 @@ class nginx::service( $service_restart = $nginx::service_restart, $service_ensure = $nginx::service_ensure, ) { - + $service_enable = $service_ensure ? { running => true, absent => false, diff --git a/tests/vhost_ssl.pp b/tests/vhost_ssl.pp index f11c967..0eff758 100644 --- a/tests/vhost_ssl.pp +++ b/tests/vhost_ssl.pp @@ -5,7 +5,7 @@ nginx::resource::vhost { 'test2.local test2': www_root => '/var/www/nginx-default', ssl => true, ssl_cert => 'puppet:///modules/sslkey/whildcard_mydomain.crt', - ssl_key => 'puppet:///modules/sslkey/whildcard_mydomain.key' + ssl_key => 'puppet:///modules/sslkey/whildcard_mydomain.key' } nginx::resource::location { 'test2.local-bob':