Merge pull request #287 from justinhennessy/jh_fix_lint_issues

Fixed lint errors
This commit is contained in:
James Fryman 2014-04-06 09:34:29 -05:00
commit 259a363b6f
4 changed files with 5 additions and 6 deletions

View file

@ -20,7 +20,6 @@ class nginx::package::debian(
$package_ensure = 'present'
) {
$distro = downcase($::operatingsystem)
package { $package_name:

View file

@ -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
}
}

View file

@ -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,

View file

@ -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':