/[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 50 by boklm, Thu Oct 28 15:07:52 2010 UTC
# Line 1  Line 1 
1  node basenode {  # svn, big important server
2    node valstar {
3    # Location: IELO datacenter (marseille)
4    #
5    # TODO:
6    # - SVN server
7    # - GIT server
8    # - setup urli build scheduler
9    # - setup youri
10    # - setup restricted shell access to allow "mdvsys submit" to work
11    # - setup maintainers database (with web interface)
12    # - mirroring (Nanar)
13    # - LDAP master
14    #
15        include default_mageia_server
16        timezone::timezone { "Europe/Paris": }
17        include rsyncd
18        include mirror
19    
20        # for puppet svn checkout
21        package {"subversion":
22            ensure => "installed"
23        }
24    
25        # svn spam log with
26        # Oct 26 13:30:01 valstar svn: No worthy mechs found
27        # without it, source http://mail-index.netbsd.org/pkgsrc-users/2008/11/23/msg008706.html
28        #
29        package {"lib64sasl2-plug-anonymous":
30            ensure => "installed"
31        }
32    
33        # update the puppet snapshot
34        cron { puppet_update:
35               command => "cd /etc/puppet && /usr/bin/svn update -q",
36               user => root,
37               minute => '*/5'
38        }
39    
40        exec { puppet_etc:
41            cwd => "/etc/",
42            command => "/usr/bin/svn co svn://vm-gandi.mageia.org/adm/puppet/",
43            user => "root",
44            creates => "/etc/puppet/manifests/site.pp"
45        }
46    
47        package {"puppet-server":
48            ensure => "installed"
49        }
50    }
51    
52    # web apps
53    node alamut {
54    # Location: IELO datacenter (marseille)
55    #
56    # TODO:
57    # - bugzilla
58    # - nagios
59    # - api
60    # - mail server
61    # - mailing list server
62    # - wiki
63    # - pastbin
64    # - LDAP slave
65    # - transiflex
66    #
67            include default_mageia_server
68        include bind::bind_master
69        bind::zone_master { "mageia.org": }
70        bind::zone_master { "mageia.fr": }
71        timezone::timezone { "Europe/Paris": }
72    }
73    
74    # buildnode
75    node jonund {
76    # Location: IELO datacenter (marseille)
77    #
78    # TODO:
79    # - iurt
80    #
81            include default_mageia_server
82        timezone::timezone { "Europe/Paris": }
83    }
84    
85    node ecosse {
86    # Location: IELO datacenter (marseille)
87    #
88    # TODO:
89    # - iurt
90    #
91            include default_mageia_server
92        timezone::timezone { "Europe/Paris": }
93  }  }
94    
 node "mx2" inherits {  
95    
96    # backup server
97    node fiona {
98    # Location: IELO datacenter (marseille)
99    #
100    # TODO:
101    # - buy the server
102    # - install the server in datacenter
103    #
104            include default_mageia_server
105    }
106    
107    # gandi-vm
108    node krampouezh {
109    # Location: gandi VM
110    #
111    # TODO:
112    # - secondary MX
113    # - LDAP slave (for external traffic maybe)
114    #
115            include default_mageia_server
116        include bind::bind_slave
117        timezone::timezone { "Europe/Paris": }
118    # Other services running on this server :
119    # - meetbot
120  }  }
121    
122    node champagne {
123    # Location: gandi VM
124    #
125    # TODO:
126    # - setup mageia.org web site
127    # - setup blog
128    #
129            include default_mageia_server
130    }
131    
132    

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

  ViewVC Help
Powered by ViewVC 1.1.30