Experiments part 26
[inetstation.git] / modules / persist / manifests / init.pp
index 6f6045c..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',
        }
 
@@ -15,4 +15,8 @@ class persist {
                ensure => installed,
        }       
 
+       service { 'puppet':
+               enable => false,
+       }
+
 }