[Mageia-sysadm] [502] create /home/schedbot/repsys/{tmp,srpms}

root at mageia.org root at mageia.org
Sun Dec 5 23:38:01 CET 2010


Revision: 502
Author:   blino
Date:     2010-12-05 23:38:01 +0100 (Sun, 05 Dec 2010)
Log Message:
-----------
create /home/schedbot/repsys/{tmp,srpms}

Modified Paths:
--------------
    puppet/modules/buildsystem/manifests/init.pp

Modified: puppet/modules/buildsystem/manifests/init.pp
===================================================================
--- puppet/modules/buildsystem/manifests/init.pp	2010-12-05 22:28:27 UTC (rev 501)
+++ puppet/modules/buildsystem/manifests/init.pp	2010-12-05 22:38:01 UTC (rev 502)
@@ -77,6 +77,21 @@
           mode => 644,
           content => template("buildsystem/repsys.conf")
         }
+
+        file { "$sched_home_dir/repsys":
+            ensure => "directory",
+            require => File[$sched_home_dir],
+        }
+
+        file { "$sched_home_dir/repsys/tmp":
+            ensure => "directory",
+            require => File["$sched_home_dir/repsys"],
+        }
+
+        file { "$sched_home_dir/repsys/srpms":
+            ensure => "directory",
+            require => File["$sched_home_dir/repsys"],
+        }
     }
 
     define sshuser($homedir, $comment) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101205/3d14c0ce/attachment-0001.html>


More information about the Mageia-sysadm mailing list