/[adm]/puppet/manifests/nodes.pp
ViewVC logotype

Diff of /puppet/manifests/nodes.pp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 7 by misc, Tue Oct 26 16:44:10 2010 UTC revision 13 by misc, Tue Oct 26 17:36:33 2010 UTC
# Line 1  Line 1 
1  # svn, big important server  # svn, big important server
2  node valstar {  node valstar {
3          include default_mageia_server          include default_mageia_server
4    
5      # for puppet svn checkout      # for puppet svn checkout
6      package {"subversion":      package {"subversion":
7          ensure => "installed"          ensure => "installed"
8      }      }
9    
10        # svn spam log with
11        # Oct 26 13:30:01 valstar svn: No worthy mechs found
12        # without it, source http://mail-index.netbsd.org/pkgsrc-users/2008/11/23/msg008706.html
13        #
14        package {"sasl-plug-anonymous":
15            ensure => "installed"
16        }
17    
18      # update the puppet snapshot      # update the puppet snapshot
19      cron { puppet_update:      cron { puppet_update:
20             command => "cd /etc/puppet && /usr/bin/svn update -q",             command => "cd /etc/puppet && /usr/bin/svn update -q",
21             user => root,             user => root,
22             minute => '*/5'             minute => '*/5'
23      }      }
24    
25        exec { puppet_etc:
26            cwd => "/etc/",
27            command => "/usr/bin/svn co svn://vm-gandi.mageia.org/adm/puppet/",
28            user => "root",
29            creates => "/etc/puppet/manifests/site.pp"
30        }
31    
32        package {"puppet-server":
33            ensure => "installed"
34        }
35  }  }
36    
37  # web apps  # web apps

Legend:
Removed from v.7  
changed lines
  Added in v.13

  ViewVC Help
Powered by ViewVC 1.1.30