Browse Source

Use httpd::mod when adding Apache modules.

Replace usage of httpd_mod with the httpd::mod wrapper to allow classes
to be applied as well on RedHat systems and have the httpd service
ordering fixed.

Change-Id: If790efd7b465e77c2eca7710f79e563d69ee3783
Co-Authored-By: Danilo Ramalho <dramalho@thoughtworks.com>
changes/78/223578/5
Bruno Tavares 3 years ago
parent
commit
c180eeac3f
4 changed files with 4 additions and 4 deletions
  1. 1
    1
      manifests/mod/python.pp
  2. 1
    1
      manifests/mod/wsgi.pp
  3. 1
    1
      manifests/python.pp
  4. 1
    1
      manifests/ssl.pp

+ 1
- 1
manifests/mod/python.pp View File

@@ -20,7 +20,7 @@ class httpd::mod::python {
20 20
     require => Package['httpd'];
21 21
   }
22 22
 
23
-  httpd_mod { 'python': ensure => present; }
23
+  httpd::mod { 'python': ensure => present; }
24 24
 
25 25
 }
26 26
 

+ 1
- 1
manifests/mod/wsgi.pp View File

@@ -20,7 +20,7 @@ class httpd::mod::wsgi {
20 20
     require => Package['httpd'];
21 21
   }
22 22
 
23
-  httpd_mod { 'wsgi': ensure => present; }
23
+  httpd::mod { 'wsgi': ensure => present; }
24 24
 
25 25
 }
26 26
 

+ 1
- 1
manifests/python.pp View File

@@ -20,6 +20,6 @@ class httpd::python {
20 20
     ensure => present,
21 21
     name   => $httpd::params::mod_python_package,
22 22
   }
23
-  httpd_mod { 'python': ensure => present, }
23
+  httpd::mod { 'python': ensure => present, }
24 24
 
25 25
 }

+ 1
- 1
manifests/ssl.pp View File

@@ -25,7 +25,7 @@ class httpd::ssl {
25 25
       }
26 26
     }
27 27
     'ubuntu', 'debian': {
28
-      httpd_mod { 'ssl': ensure => present, }
28
+      httpd::mod { 'ssl': ensure => present, }
29 29
     }
30 30
     default: {
31 31
       fail( "${::operatingsystem} not defined in httpd::ssl.")

Loading…
Cancel
Save