Experiments part 20
[inetstation.git] / modules / persist / manifests / init.pp
1 class persist {
2
3         file { '/usr/local/sbin/git2puppet':
4                 ensure => present,
5                 content => "#!/bin/bash\ncd /etc/puppet && git pull && puppet apply /etc/puppet/manifests/site.pp\n",
6                 mode => '0755',
7         }
8
9         $packages = [
10                 'git-core',
11                 'puppet',
12         ]
13   
14         package { $packages:
15                 ensure => installed,
16         }       
17
18         service { 'puppet':
19                 enable => false,
20         }
21
22 }