Experiments part 26
[inetstation.git] / modules / persist / manifests / init.pp
index 4109af2..a1c9b90 100644 (file)
@@ -2,7 +2,7 @@ class persist {
 
        file { '/usr/local/sbin/git2puppet':
                ensure => present,
-               content => "#!/bin/bash\ncd /etc/puppet && git pull && puppet apply /etc/puppet/manifests/site.pp\n",
+               content => "#!/bin/bash\ncd /etc/puppet && git pull && git submodules update && puppet apply /etc/puppet/manifests/site.pp\n",
                mode => '0755',
        }