[bcfg2] ajout de owl.crans.org et asterisk.crans.org

darcs-hash:20090313081505-bd074-b43606c63f11cb48ddeae987f6a122e7dad02477.gz
This commit is contained in:
Antoine Durand-Gasselin 2009-03-13 09:15:05 +01:00
parent 3206d04bcf
commit 7601daa341
6 changed files with 59 additions and 1 deletions

15
Base/dom0.xml Normal file
View file

@ -0,0 +1,15 @@
<Base>
<Group name="dom0">
<ConfigFile name="/etc/xen/common.py"/>
<ConfigFile name="/etc/xen/irc"/>
<ConfigFile name="/etc/xen/munin"/>
<ConfigFile name="/etc/xen/news"/>
<ConfigFile name="/etc/xen/niomniom"/>
<ConfigFile name="/etc/xen/o2"/>
<ConfigFile name="/etc/xen/titanic"/>
<ConfigFile name="/etc/xen/xmpp"/>
<ConfigFile name="/etc/xen/ytrap-llatsni"/>
<ConfigFile name="/etc/xen/owl"/>
<ConfigFile name="/etc/xen/asterisk"/>
</Group>
</Base>

View file

@ -0,0 +1,14 @@
# -*- coding: utf-8; mode: python -*-
execfile("/etc/xen/common.py")
name = "asterisk"
memory = 512
vif = [ pub('00:00:13:03:09:0c'),
adm('00:00:13:03:09:0d') ]
disk = [ vol("asterisk", "slash", "hda"),
vol("asterisk", "swap", "hdb") ]

14
Cfg/etc/xen/owl/owl Normal file
View file

@ -0,0 +1,14 @@
# -*- coding: utf-8; mode: python -*-
execfile("/etc/xen/common.py")
name = "owl"
memory = 512
vif = [ pub('00:00:13:03:09:0a'),
adm('00:00:13:03:09:0b') ]
disk = [ vol("owl", "slash", "hda"),
vol("owl", "swap", "hdb") ]

View file

@ -26,6 +26,8 @@
<Client name="niomniom.adm.crans.org" profile="niomniom" pingable="Y"/> <Client name="niomniom.adm.crans.org" profile="niomniom" pingable="Y"/>
<Client name="ytrap-llatsni.adm.crans.org" profile="install-party" pingable="Y"/> <Client name="ytrap-llatsni.adm.crans.org" profile="install-party" pingable="Y"/>
<Client name="radius.adm.crans.org" profile="radius" pingable="Y"/> <Client name="radius.adm.crans.org" profile="radius" pingable="Y"/>
<Client name="owl.adm.crans.org" profile="owl" pingable="Y"/>
<Client name="asterisk.adm.crans.org" profile="asterisk" pingable="Y"/>
<!-- La ferme --> <!-- La ferme -->
<Client name="canard.adm.crans.org" profile="canard" pingable="Y"/> <Client name="canard.adm.crans.org" profile="canard" pingable="Y"/>

View file

@ -162,11 +162,23 @@
<Group name="http-server"/> <Group name="http-server"/>
<Group name="domu"/> <Group name="domu"/>
<Group name="webmasters"/> <Group name="webmasters"/>
<!-- Nécessaire pour un plugin du wiki --> <!-- Nécessaire pour un plugin du wiki -->
<Group name="home-permanent"/> <Group name="home-permanent"/>
</Group> </Group>
<Group name="owl"
profile="true">
<Group name="crans-lenny"/>
<Group name="domu"/>
<Group name="http-server"/>
</Group>
<Group name="asterisk"
profile="true">
<Group name="crans-lenny"/>
<Group name="domu"/>
</Group>
<Group name="canard" <Group name="canard"
profile="true"> profile="true">
<Group name="crans-etch"/> <Group name="crans-etch"/>

View file

@ -10,6 +10,7 @@ def mnt(fs, mntpoint, type, options=[], dump=0, pass_=0):
@# Les définitions classiques @# Les définitions classiques
mnt("proc", "/proc", "proc") mnt("proc", "/proc", "proc")
mnt("shm", "/dev/shm", "tmpfs")
@# Les définitions locales @# Les définitions locales
print metadata.probes["fstab_local"] print metadata.probes["fstab_local"]