[Mageia-sysadm] [156] move extdata to the module

root at mageia.org root at mageia.org
Fri Nov 5 19:20:57 CET 2010


Revision: 156
Author:   misc
Date:     2010-11-05 19:20:57 +0100 (Fri, 05 Nov 2010)
Log Message:
-----------
move extdata to the module

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

Modified: puppet/manifests/nodes.pp
===================================================================
--- puppet/manifests/nodes.pp	2010-11-05 18:20:55 UTC (rev 155)
+++ puppet/manifests/nodes.pp	2010-11-05 18:20:57 UTC (rev 156)
@@ -23,16 +23,6 @@
     subversion::snapshot { "/etc/puppet":
         source => "svn://svn.mageia.org/adm/puppet/"
     }
-
-    file { "extdata":
-        path => "/etc/puppet/extdata",
-        ensure => directory,
-        owner => puppet,
-        group => puppet,
-        mode => 700,
-        recurse => true
-    }
-
     package {"task-bs-cluster-main":
         ensure => "installed"
     }

Modified: puppet/modules/puppet/manifests/init.pp
===================================================================
--- puppet/modules/puppet/manifests/init.pp	2010-11-05 18:20:55 UTC (rev 155)
+++ puppet/modules/puppet/manifests/init.pp	2010-11-05 18:20:57 UTC (rev 156)
@@ -30,5 +30,14 @@
             path => "/etc/init.d/puppetmaster",
             subscribe => [ Package[puppet-server], File["/etc/puppet/puppet.conf"]]
         }
+
+        file { "extdata":
+            path => "/etc/puppet/extdata",
+            ensure => directory,
+            owner => puppet,
+            group => puppet,
+            mode => 700,
+            recurse => true
+        }
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101105/f1f409db/attachment-0001.html>


More information about the Mageia-sysadm mailing list