Experiments part 26
authorAndreas Schiermeier <andreas@schiermeier.name>
Sun, 13 Dec 2015 04:19:31 +0000 (05:19 +0100)
committerAndreas Schiermeier <andreas@schiermeier.name>
Sun, 13 Dec 2015 04:19:31 +0000 (05:19 +0100)
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',
        }