]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/commitdiff
Add index to default location
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Tue, 20 Feb 2018 10:31:08 +0000 (11:31 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Tue, 20 Feb 2018 10:31:08 +0000 (11:31 +0100)
modules/profile/files/apache/index.html [new file with mode: 0644]
modules/profile/manifests/apache.pp

diff --git a/modules/profile/files/apache/index.html b/modules/profile/files/apache/index.html
new file mode 100644 (file)
index 0000000..0274251
--- /dev/null
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <title>Hello World HTML</title>
+  </head>
+  <body>
+    <h1>It works!</h1>
+  </body>
+</html>
index 7f7c3a627554a2259dc930eb94a7fffc238407a1..605b7014c14b2c7b351ede5ab9252915333ffe60 100644 (file)
@@ -152,6 +152,12 @@ class profile::apache {
       group  => "root",
   }
 
+  file { "/srv/http/index.html":
+    mode   => "0644",
+    owner  => "root",
+    group  => "root",
+    source => "puppet:///modules/profile/apache/index.html",
+  }
   file { "/srv/http/maintenance_immae.html":
     mode   => "0644",
     owner  => "root",