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:
|
# Sample Usage:
|
||||||
#
|
#
|
||||||
class httpd::dev {
|
class httpd::dev {
|
||||||
include ::httpd::params
|
include httpd::params
|
||||||
|
|
||||||
package { $httpd::params::apache_dev:
|
package { $httpd::params::apache_dev:
|
||||||
ensure => installed,
|
ensure => installed,
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# Sample Usage:
|
# Sample Usage:
|
||||||
#
|
#
|
||||||
class httpd {
|
class httpd {
|
||||||
include ::httpd::params
|
include httpd::params
|
||||||
|
|
||||||
package { 'httpd':
|
package { 'httpd':
|
||||||
ensure => installed,
|
ensure => installed,
|
||||||
|
@ -21,7 +21,7 @@ class httpd::logrotate (
|
|||||||
" service ${::httpd::params::apache_name} reload > /dev/null; fi; \\",
|
" service ${::httpd::params::apache_name} reload > /dev/null; fi; \\",
|
||||||
],
|
],
|
||||||
) inherits httpd::params {
|
) inherits httpd::params {
|
||||||
include ::logrotate
|
include logrotate
|
||||||
|
|
||||||
$apache_logdir = "/var/log/${::httpd::params::apache_name}"
|
$apache_logdir = "/var/log/${::httpd::params::apache_name}"
|
||||||
$logrotate_name = $::httpd::params::apache_name
|
$logrotate_name = $::httpd::params::apache_name
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# Sample Usage:
|
# Sample Usage:
|
||||||
#
|
#
|
||||||
class httpd::mod::python {
|
class httpd::mod::python {
|
||||||
include ::httpd
|
include httpd
|
||||||
|
|
||||||
package { 'mod_python_package':
|
package { 'mod_python_package':
|
||||||
ensure => installed,
|
ensure => installed,
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
# Sample Usage:
|
# Sample Usage:
|
||||||
#
|
#
|
||||||
class httpd::mod::wsgi {
|
class httpd::mod::wsgi {
|
||||||
include ::httpd
|
include httpd
|
||||||
|
|
||||||
package { 'mod_wsgi_package':
|
package { 'mod_wsgi_package':
|
||||||
ensure => installed,
|
ensure => installed,
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# Sample Usage:
|
# Sample Usage:
|
||||||
#
|
#
|
||||||
class httpd::php {
|
class httpd::php {
|
||||||
include ::httpd::params
|
include httpd::params
|
||||||
|
|
||||||
package { 'apache_php_package':
|
package { 'apache_php_package':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
|
@ -14,8 +14,8 @@
|
|||||||
# Sample Usage:
|
# Sample Usage:
|
||||||
#
|
#
|
||||||
class httpd::python {
|
class httpd::python {
|
||||||
include ::httpd::params
|
include httpd::params
|
||||||
include ::httpd
|
include httpd
|
||||||
|
|
||||||
package { 'apache_python_package':
|
package { 'apache_python_package':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
#
|
#
|
||||||
class httpd::ssl {
|
class httpd::ssl {
|
||||||
|
|
||||||
include ::httpd
|
include httpd
|
||||||
|
|
||||||
case $::operatingsystem {
|
case $::operatingsystem {
|
||||||
'centos', 'fedora', 'redhat', 'scientific': {
|
'centos', 'fedora', 'redhat', 'scientific': {
|
||||||
|
@ -47,7 +47,7 @@ define httpd::vhost(
|
|||||||
$vhost_name = $httpd::params::vhost_name,
|
$vhost_name = $httpd::params::vhost_name,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
include ::httpd
|
include httpd
|
||||||
|
|
||||||
if $servername == undef {
|
if $servername == undef {
|
||||||
$srvname = $name
|
$srvname = $name
|
||||||
@ -56,7 +56,7 @@ define httpd::vhost(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if $ssl == true {
|
if $ssl == true {
|
||||||
include ::httpd::ssl
|
include httpd::ssl
|
||||||
}
|
}
|
||||||
|
|
||||||
# Since the template will use auth, redirect to https requires mod_rewrite
|
# Since the template will use auth, redirect to https requires mod_rewrite
|
||||||
|
@ -31,7 +31,7 @@ define httpd::vhost::proxy (
|
|||||||
$vhost_name = '*',
|
$vhost_name = '*',
|
||||||
) {
|
) {
|
||||||
|
|
||||||
include ::httpd
|
include httpd
|
||||||
|
|
||||||
$apache_name = $httpd::params::apache_name
|
$apache_name = $httpd::params::apache_name
|
||||||
$ssl_path = $httpd::params::ssl_path
|
$ssl_path = $httpd::params::ssl_path
|
||||||
@ -42,7 +42,7 @@ define httpd::vhost::proxy (
|
|||||||
}
|
}
|
||||||
|
|
||||||
if $ssl == true {
|
if $ssl == true {
|
||||||
include ::httpd::ssl
|
include httpd::ssl
|
||||||
}
|
}
|
||||||
|
|
||||||
# The Apache mod_version module only needs to be enabled on Ubuntu 12.04
|
# The Apache mod_version module only needs to be enabled on Ubuntu 12.04
|
||||||
|
@ -26,7 +26,7 @@ define httpd::vhost::redirect (
|
|||||||
$vhost_name = '*'
|
$vhost_name = '*'
|
||||||
) {
|
) {
|
||||||
|
|
||||||
include ::httpd
|
include httpd
|
||||||
|
|
||||||
$srvname = $name
|
$srvname = $name
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user