aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-02-20 11:31:08 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-02-20 11:31:08 +0100
commit5be7de41fe02fe60fbbac530e6729f74e206aea3 (patch)
tree42cc09c283a7b0f6fce4f7dde22cd9213408111f
parente345248bd85980f6fefe7bc62251cc5b97f64854 (diff)
downloadPuppet-5be7de41fe02fe60fbbac530e6729f74e206aea3.tar.gz
Puppet-5be7de41fe02fe60fbbac530e6729f74e206aea3.tar.zst
Puppet-5be7de41fe02fe60fbbac530e6729f74e206aea3.zip
Add index to default location
-rw-r--r--modules/profile/files/apache/index.html9
-rw-r--r--modules/profile/manifests/apache.pp6
2 files changed, 15 insertions, 0 deletions
diff --git a/modules/profile/files/apache/index.html b/modules/profile/files/apache/index.html
new file mode 100644
index 0000000..0274251
--- /dev/null
+++ b/modules/profile/files/apache/index.html
@@ -0,0 +1,9 @@
1<!DOCTYPE html>
2<html>
3 <head>
4 <title>Hello World HTML</title>
5 </head>
6 <body>
7 <h1>It works!</h1>
8 </body>
9</html>
diff --git a/modules/profile/manifests/apache.pp b/modules/profile/manifests/apache.pp
index 7f7c3a6..605b701 100644
--- a/modules/profile/manifests/apache.pp
+++ b/modules/profile/manifests/apache.pp
@@ -152,6 +152,12 @@ class profile::apache {
152 group => "root", 152 group => "root",
153 } 153 }
154 154
155 file { "/srv/http/index.html":
156 mode => "0644",
157 owner => "root",
158 group => "root",
159 source => "puppet:///modules/profile/apache/index.html",
160 }
155 file { "/srv/http/maintenance_immae.html": 161 file { "/srv/http/maintenance_immae.html":
156 mode => "0644", 162 mode => "0644",
157 owner => "root", 163 owner => "root",