From: Ismaƫl Bouya Date: Tue, 20 Feb 2018 10:31:08 +0000 (+0100) Subject: Add index to default location X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FPuppet.git;a=commitdiff_plain;h=5be7de41fe02fe60fbbac530e6729f74e206aea3 Add index to default location --- 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 @@ + + + + Hello World HTML + + +

It works!

+ + 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 { 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",