From 5be7de41fe02fe60fbbac530e6729f74e206aea3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Isma=C3=ABl=20Bouya?= Date: Tue, 20 Feb 2018 11:31:08 +0100 Subject: [PATCH] Add index to default location --- modules/profile/files/apache/index.html | 9 +++++++++ modules/profile/manifests/apache.pp | 6 ++++++ 2 files changed, 15 insertions(+) create mode 100644 modules/profile/files/apache/index.html 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", -- 2.41.0