]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Trying to fix dependency cycle
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 10 Jan 2010 16:56:14 +0000 (14:56 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 10 Jan 2010 16:56:14 +0000 (14:56 -0200)
manifests/init.pp

index aa9f125170e9dffdec606da48c717877a0bb466e..da844c0c8c782987617185fc9a2e2cda180c5c00 100644 (file)
@@ -177,7 +177,7 @@ class nodo::vserver inherits nodo {
       mode    => 0644,
       ensure  => present,
       notify  => Exec["vs_restart_${name}"],
-      require => Vserver["$name"];
+      require => Exec["vs_create_${name}"],
     }
 
     # Create a munin virtual resource to be realized in the node