aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/planet/manifests/init.pp4
-rw-r--r--modules/planet/templates/index.php1
2 files changed, 3 insertions, 2 deletions
diff --git a/modules/planet/manifests/init.pp b/modules/planet/manifests/init.pp
index b737b66f..e89c12cf 100644
--- a/modules/planet/manifests/init.pp
+++ b/modules/planet/manifests/init.pp
@@ -35,8 +35,8 @@ class planet {
}
file { "index":
- path => "/var/www/html/planet.$location/index.php",
- ensure => present,
+ path => "/var/www/html/$planet_location/index.php",
+ ensure => present
owner => planet,
group => apache,
mode => 755,
diff --git a/modules/planet/templates/index.php b/modules/planet/templates/index.php
index 3a8b3534..2247bf7c 100644
--- a/modules/planet/templates/index.php
+++ b/modules/planet/templates/index.php
@@ -15,5 +15,6 @@ foreach(displayloc('.') as $loc)
}
?>
</ul>
+<h3>How to be listed in Planet Mageia</h3>
</body>
</html>