Fix puppet-lint before upgrading gem

Removing puppet-lint warnings
in favor of upgrading to latest gem

2016-09-13 21:10:43.364404 | manifests/init.pp:394:WARNING: line has more than 140 characters
2016-09-13 21:10:43.364482 | manifests/params.pp:47:WARNING: line has more than 140 characters

Change-Id: I8a5fd0a5a61752dbaeb9ed7cd47dadf8e7754d71
This commit is contained in:
Carlos Camacho 2016-09-14 14:02:12 +02:00
parent 000a40263b
commit 17a905fcdc
2 changed files with 4 additions and 2 deletions

View File

@ -391,7 +391,8 @@ class horizon(
}
if $fqdn {
warning('Parameter fqdn is deprecated. Please use parameter allowed_hosts for setting ALLOWED_HOSTS in settings_local.py and parameter server_aliases for setting ServerAlias directives in vhost.conf.')
warning('Parameter fqdn is deprecated. Please use parameter allowed_hosts for setting ALLOWED_HOSTS in \
settings_local.py and parameter server_aliases for setting ServerAlias directives in vhost.conf.')
$final_allowed_hosts = $fqdn
$final_server_aliases = $fqdn
} else {

View File

@ -44,7 +44,8 @@ class horizon::params {
}
}
default: {
fail("Unsupported osfamily: ${::osfamily} operatingsystem: ${::operatingsystem}, module ${module_name} only support osfamily RedHat and Debian")
fail("Unsupported osfamily: ${::osfamily} operatingsystem: ${::operatingsystem}, \
module ${module_name} only support osfamily RedHat and Debian")
}
}
}