diff options
Diffstat (limited to 'modules/profile')
-rw-r--r-- | modules/profile/files/apache/index.html | 9 | ||||
-rw-r--r-- | modules/profile/manifests/apache.pp | 6 |
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", |