Fix leading :: on class includes to make linter happy
Why this needed to be a linter rule I do not know. Change-Id: I27ba74c6060c9d2ad09b52bc38090ff9c1f83721
This commit is contained in:
parent
41618d1ffb
commit
1609bb6a44
@ -12,7 +12,7 @@
|
||||
# Sample Usage:
|
||||
#
|
||||
class httpd::dev {
|
||||
include ::httpd::params
|
||||
include httpd::params
|
||||
|
||||
package { $httpd::params::apache_dev:
|
||||
ensure => installed,
|
||||
|
@ -13,7 +13,7 @@
|
||||
# Sample Usage:
|
||||
#
|
||||
class httpd {
|
||||
include ::httpd::params
|
||||
include httpd::params
|
||||
|
||||
package { 'httpd':
|
||||
ensure => installed,
|
||||
|
@ -21,7 +21,7 @@ class httpd::logrotate (
|
||||
" service ${::httpd::params::apache_name} reload > /dev/null; fi; \\",
|
||||
],
|
||||
) inherits httpd::params {
|
||||
include ::logrotate
|
||||
include logrotate
|
||||
|
||||
$apache_logdir = "/var/log/${::httpd::params::apache_name}"
|
||||
$logrotate_name = $::httpd::params::apache_name
|
||||
|
@ -13,7 +13,7 @@
|
||||
# Sample Usage:
|
||||
#
|
||||
class httpd::mod::python {
|
||||
include ::httpd
|
||||
include httpd
|
||||
|
||||
package { 'mod_python_package':
|
||||
ensure => installed,
|
||||
|
@ -12,7 +12,7 @@
|
||||
# Sample Usage:
|
||||
#
|
||||
class httpd::mod::wsgi {
|
||||
include ::httpd
|
||||
include httpd
|
||||
|
||||
package { 'mod_wsgi_package':
|
||||
ensure => installed,
|
||||
|
@ -13,7 +13,7 @@
|
||||
# Sample Usage:
|
||||
#
|
||||
class httpd::php {
|
||||
include ::httpd::params
|
||||
include httpd::params
|
||||
|
||||
package { 'apache_php_package':
|
||||
ensure => present,
|
||||
|
@ -14,8 +14,8 @@
|
||||
# Sample Usage:
|
||||
#
|
||||
class httpd::python {
|
||||
include ::httpd::params
|
||||
include ::httpd
|
||||
include httpd::params
|
||||
include httpd
|
||||
|
||||
package { 'apache_python_package':
|
||||
ensure => present,
|
||||
|
@ -14,7 +14,7 @@
|
||||
#
|
||||
class httpd::ssl {
|
||||
|
||||
include ::httpd
|
||||
include httpd
|
||||
|
||||
case $::operatingsystem {
|
||||
'centos', 'fedora', 'redhat', 'scientific': {
|
||||
|
@ -47,7 +47,7 @@ define httpd::vhost(
|
||||
$vhost_name = $httpd::params::vhost_name,
|
||||
) {
|
||||
|
||||
include ::httpd
|
||||
include httpd
|
||||
|
||||
if $servername == undef {
|
||||
$srvname = $name
|
||||
@ -56,7 +56,7 @@ define httpd::vhost(
|
||||
}
|
||||
|
||||
if $ssl == true {
|
||||
include ::httpd::ssl
|
||||
include httpd::ssl
|
||||
}
|
||||
|
||||
# Since the template will use auth, redirect to https requires mod_rewrite
|
||||
|
@ -31,7 +31,7 @@ define httpd::vhost::proxy (
|
||||
$vhost_name = '*',
|
||||
) {
|
||||
|
||||
include ::httpd
|
||||
include httpd
|
||||
|
||||
$apache_name = $httpd::params::apache_name
|
||||
$ssl_path = $httpd::params::ssl_path
|
||||
@ -42,7 +42,7 @@ define httpd::vhost::proxy (
|
||||
}
|
||||
|
||||
if $ssl == true {
|
||||
include ::httpd::ssl
|
||||
include httpd::ssl
|
||||
}
|
||||
|
||||
# The Apache mod_version module only needs to be enabled on Ubuntu 12.04
|
||||
|
@ -26,7 +26,7 @@ define httpd::vhost::redirect (
|
||||
$vhost_name = '*'
|
||||
) {
|
||||
|
||||
include ::httpd
|
||||
include httpd
|
||||
|
||||
$srvname = $name
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user