aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mirror/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mirror/manifests/init.pp')
-rw-r--r--modules/mirror/manifests/init.pp20
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/mirror/manifests/init.pp b/modules/mirror/manifests/init.pp
index 5d6bca4b..512b0463 100644
--- a/modules/mirror/manifests/init.pp
+++ b/modules/mirror/manifests/init.pp
@@ -9,6 +9,26 @@ class mirror {
content => template("mirror/update_timestamp")
}
+ file { "/home/mirror/bin/":
+ ensure => directory,
+ owner => mirror,
+ group => mirror,
+ mode => 755
+ }
+
+ group {"mirror":
+ ensure => present,
+ }
+
+ user {"mirror":
+ ensure => present,
+ comment => "System user use to run mirror scripts",
+ managehome => true,
+ gid => mirror,
+ shell => "/bin/bash",
+ }
+
+
cron { mirror:
user => mirror,
hour => 10,