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

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

  ViewVC Help
Powered by ViewVC 1.1.30