[Mageia-sysadm] [426] ensure /etc/iurt/build is a directory

root at mageia.org root at mageia.org
Tue Nov 23 23:00:44 CET 2010


Revision: 426
Author:   blino
Date:     2010-11-23 23:00:44 +0100 (Tue, 23 Nov 2010)
Log Message:
-----------
ensure /etc/iurt/build is a directory

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

Modified: puppet/modules/buildsystem/manifests/init.pp
===================================================================
--- puppet/modules/buildsystem/manifests/init.pp	2010-11-23 21:17:35 UTC (rev 425)
+++ puppet/modules/buildsystem/manifests/init.pp	2010-11-23 22:00:44 UTC (rev 426)
@@ -109,11 +109,16 @@
             ensure => installed;
         }
 
+        file { "/etc/iurt/build":
+            ensure => "directory",
+        }
+
         file { "/etc/iurt/build/cauldron.conf":
             ensure => present,
             owner => $build_login,
             group => $build_login,
             mode => 644,
+            require => File["/etc/iurt/build"],
             content => template("buildsystem/iurt.cauldron.conf")
         }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101123/99f7da9a/attachment.html>


More information about the Mageia-sysadm mailing list