]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
mv templates/default-index.html modules/apache2/templates/
authorPeter Palfrader <peter@palfrader.org>
Tue, 26 May 2009 21:27:56 +0000 (23:27 +0200)
committerPeter Palfrader <peter@palfrader.org>
Tue, 26 May 2009 21:27:56 +0000 (23:27 +0200)
modules/apache2/manifests/init.pp
modules/apache2/templates/default-index.html [new file with mode: 0644]
templates/default-index.html [deleted file]

index 29753045036581100b9c094b465967aa1e2ccd80..706d40e13d30de18caff49513e5aa41781d53a4d 100644 (file)
@@ -31,7 +31,7 @@ class apache2 {
                        mode    => 755,
                        ensure  => directory;
                "/srv/www/default.debian.org/htdocs/index.html":
-                       content => template("default-index.html");
+                       content => template("apache2/default-index.html");
 
                "/var/log/apache2":
                        mode    => 755,
diff --git a/modules/apache2/templates/default-index.html b/modules/apache2/templates/default-index.html
new file mode 100644 (file)
index 0000000..f19c504
--- /dev/null
@@ -0,0 +1,32 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+<HEAD>
+   <TITLE>Welcome to <%= hostname %>!</TITLE>
+</HEAD>
+<BODY>
+
+<H1>Welcome to <%= hostname %>!</H1>
+
+This is <%= hostname %>, a system run by and for the <a href="http://www.debian.org/">Debian Project</a>.
+She does stuff.
+What kind of stuff and who our kind sponsors are you might learn on
+<a href="http://db.debian.org/machines.cgi?host=<%= hostname %>">db.debian.org</a>.
+<% if hostname == "saens" -%>
+<p>
+This host used to be ftp.debian.org (just another
+mirror, not the master site - that is ftp-master.debian.org) a long
+time ago.
+<p>
+As of May 2009 it is part of <a href="http://security.debian.org/">security(.us).debian.org</a>,
+serving the security archive.
+<p>
+For a list of mirrors of the main debian archive please visit the
+Debian website at <a href="http://www.debian.org/mirror/list">http://www.debian.org/mirror/list</a>.
+<% end -%>
+
+<P>
+<HR NOSHADE />
+<FONT size="-1">DSA</FONT>
+
+</BODY>
+</HTML>
diff --git a/templates/default-index.html b/templates/default-index.html
deleted file mode 100644 (file)
index f19c504..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
-<HTML>
-<HEAD>
-   <TITLE>Welcome to <%= hostname %>!</TITLE>
-</HEAD>
-<BODY>
-
-<H1>Welcome to <%= hostname %>!</H1>
-
-This is <%= hostname %>, a system run by and for the <a href="http://www.debian.org/">Debian Project</a>.
-She does stuff.
-What kind of stuff and who our kind sponsors are you might learn on
-<a href="http://db.debian.org/machines.cgi?host=<%= hostname %>">db.debian.org</a>.
-<% if hostname == "saens" -%>
-<p>
-This host used to be ftp.debian.org (just another
-mirror, not the master site - that is ftp-master.debian.org) a long
-time ago.
-<p>
-As of May 2009 it is part of <a href="http://security.debian.org/">security(.us).debian.org</a>,
-serving the security archive.
-<p>
-For a list of mirrors of the main debian archive please visit the
-Debian website at <a href="http://www.debian.org/mirror/list">http://www.debian.org/mirror/list</a>.
-<% end -%>
-
-<P>
-<HR NOSHADE />
-<FONT size="-1">DSA</FONT>
-
-</BODY>
-</HTML>