Move apache module configs to apache2::module dir; add compat includes
authorPeter Palfrader <peter@palfrader.org>
Mon, 21 Oct 2019 09:08:10 +0000 (11:08 +0200)
committerPeter Palfrader <peter@palfrader.org>
Mon, 21 Oct 2019 09:28:03 +0000 (11:28 +0200)
14 files changed:
modules/apache2/manifests/auth_digest.pp
modules/apache2/manifests/authn_anon.pp
modules/apache2/manifests/authn_file.pp
modules/apache2/manifests/expires.pp
modules/apache2/manifests/module/auth_digest.pp [new file with mode: 0644]
modules/apache2/manifests/module/authn_anon.pp [new file with mode: 0644]
modules/apache2/manifests/module/authn_file.pp [new file with mode: 0644]
modules/apache2/manifests/module/expires.pp [new file with mode: 0644]
modules/apache2/manifests/module/proxy_http.pp [new file with mode: 0644]
modules/apache2/manifests/module/rewrite.pp [new file with mode: 0644]
modules/apache2/manifests/module/ssl.pp [new file with mode: 0644]
modules/apache2/manifests/proxy_http.pp
modules/apache2/manifests/rewrite.pp
modules/apache2/manifests/ssl.pp

index d5c19df..565f450 100644 (file)
@@ -1,3 +1,3 @@
 class apache2::auth_digest {
-  apache2::module { 'auth_digest': }
+  include apache2::module::auth_digest
 }
index 2ae573d..28ff338 100644 (file)
@@ -1,3 +1,3 @@
 class apache2::authn_anon {
-  apache2::module { 'authn_anon': }
+  include apache2::module::authn_anon
 }
index 09b59f7..f9c5ae7 100644 (file)
@@ -1,3 +1,3 @@
 class apache2::authn_file {
-  apache2::module { 'authn_file': }
+  include apache2::module::authn_file
 }
index 0364509..1dc8a86 100644 (file)
@@ -1,3 +1,3 @@
 class apache2::expires {
-  apache2::module { 'expires': }
+  include apache2::module::expires
 }
diff --git a/modules/apache2/manifests/module/auth_digest.pp b/modules/apache2/manifests/module/auth_digest.pp
new file mode 100644 (file)
index 0000000..6430aec
--- /dev/null
@@ -0,0 +1,3 @@
+class apache2::module::auth_digest {
+  apache2::module { 'auth_digest': }
+}
diff --git a/modules/apache2/manifests/module/authn_anon.pp b/modules/apache2/manifests/module/authn_anon.pp
new file mode 100644 (file)
index 0000000..760c359
--- /dev/null
@@ -0,0 +1,3 @@
+class apache2::module::authn_anon {
+  apache2::module { 'authn_anon': }
+}
diff --git a/modules/apache2/manifests/module/authn_file.pp b/modules/apache2/manifests/module/authn_file.pp
new file mode 100644 (file)
index 0000000..82033a1
--- /dev/null
@@ -0,0 +1,3 @@
+class apache2::module::authn_file {
+  apache2::module { 'authn_file': }
+}
diff --git a/modules/apache2/manifests/module/expires.pp b/modules/apache2/manifests/module/expires.pp
new file mode 100644 (file)
index 0000000..905deb7
--- /dev/null
@@ -0,0 +1,3 @@
+class apache2::module::expires {
+  apache2::module { 'expires': }
+}
diff --git a/modules/apache2/manifests/module/proxy_http.pp b/modules/apache2/manifests/module/proxy_http.pp
new file mode 100644 (file)
index 0000000..59d6f6e
--- /dev/null
@@ -0,0 +1,3 @@
+class apache2::module::proxy_http {
+  apache2::module { 'proxy_http': }
+}
diff --git a/modules/apache2/manifests/module/rewrite.pp b/modules/apache2/manifests/module/rewrite.pp
new file mode 100644 (file)
index 0000000..cac209b
--- /dev/null
@@ -0,0 +1,3 @@
+class apache2::module::rewrite {
+  apache2::module { 'rewrite': }
+}
diff --git a/modules/apache2/manifests/module/ssl.pp b/modules/apache2/manifests/module/ssl.pp
new file mode 100644 (file)
index 0000000..8828cba
--- /dev/null
@@ -0,0 +1,3 @@
+class apache2::module::ssl {
+  apache2::module { 'ssl': }
+}
index 4b2a909..df15ab4 100644 (file)
@@ -1,3 +1,3 @@
 class apache2::proxy_http {
-  apache2::module { 'proxy_http': }
+  include apache2::module::proxy_http
 }
index bcd75f1..a097ccf 100644 (file)
@@ -1,3 +1,3 @@
 class apache2::rewrite {
-  apache2::module { 'rewrite': }
+  include apache2::module::rewrite
 }
index 6611381..21a5c17 100644 (file)
@@ -1,3 +1,3 @@
 class apache2::ssl {
-  apache2::module { 'ssl': }
+  include apache2::module::ssl
 }