/[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 3 by boklm, Fri Oct 15 15:34:08 2010 UTC revision 24 by misc, Tue Oct 26 23:11:45 2010 UTC
# Line 1  Line 1 
1  node basenode {  # svn, big important server
2    node valstar {
3        include default_mageia_server
4        #timezone { "Europe/Paris": }
5        include rsyncd
6    
7        # for puppet svn checkout
8        package {"subversion":
9            ensure => "installed"
10        }
11    
12        # svn spam log with
13        # Oct 26 13:30:01 valstar svn: No worthy mechs found
14        # without it, source http://mail-index.netbsd.org/pkgsrc-users/2008/11/23/msg008706.html
15        #
16        package {"lib64sasl2-plug-anonymous":
17            ensure => "installed"
18        }
19    
20        # update the puppet snapshot
21        cron { puppet_update:
22               command => "cd /etc/puppet && /usr/bin/svn update -q",
23               user => root,
24               minute => '*/5'
25        }
26    
27        exec { puppet_etc:
28            cwd => "/etc/",
29            command => "/usr/bin/svn co svn://vm-gandi.mageia.org/adm/puppet/",
30            user => "root",
31            creates => "/etc/puppet/manifests/site.pp"
32        }
33    
34        package {"puppet-server":
35            ensure => "installed"
36        }
37    }
38    
39    # web apps
40    node alamut {
41        #timezone { "Europe/Paris": }
42            include default_mageia_server
43    }
44    
45    # buildnode
46    node jonund {
47        #timezone { "Europe/Paris": }
48            include default_mageia_server
49    }
50    
51    node ecosse {
52        #timezone { "Europe/Paris": }
53            include default_mageia_server
54  }  }
55    
 node "mx2" inherits {  
56    
57    # backup server
58    node fiona {
59            include default_mageia_server
60    }
61    
62    # gandi-vm
63    node krampouezh {
64        #timezone { "Europe/Paris": }
65            include default_mageia_server
66  }  }
67    
68    node champagne {
69            include default_mageia_server
70    }
71    
72    

Legend:
Removed from v.3  
changed lines
  Added in v.24

  ViewVC Help
Powered by ViewVC 1.1.30