[Bcfg2] Nouveau paquet, nouvelle config

Ignore-this: 67cdee8f32d7581493d12617ddc97bc2
Bcfg2 a subi deux releases, qui ont pas mal changé les "normes".

Les balises suivntes sont remplacées :

<ConfigFile> ---------------------------> <Path type="file">
<Directory>  ---------------------------> <Path type="directory">
<SymLink>    ---------------------------> <Path type="symlink">
etc

Pour les fichiers python, désormais, on utilise plus
<ConfigFile>, mais <Python>

darcs-hash:20121211100127-b6762-f146f4460e9713cb59a25c33a08b551c5280f3b2.gz
This commit is contained in:
Pierre-Elliott Bécue 2012-12-11 11:01:27 +01:00
parent 1158615de0
commit d10a8a0672
60 changed files with 252 additions and 266 deletions

View file

@ -1,13 +1,13 @@
<Base>
<Group name="vpn">
<Group name="external">
<ConfigFile name="/etc/cron.d/vpn"/>
<Path name="/etc/cron.d/vpn"/>
</Group>
</Group>
<Group name="file-server">
<ConfigFile name="/etc/cron.d/debris"/>
<Path name="/etc/cron.d/debris"/>
</Group>
<Group name="users">
<ConfigFile name="/etc/cron.d/ethercode"/>
<Path name="/etc/cron.d/ethercode"/>
</Group>
</Base>

View file

@ -1,32 +1,32 @@
<Base>
<Group name="dom0">
<ConfigFile name="/etc/xen/common.py"/>
<ConfigFile name="/etc/xen/common_squeeze.py"/>
<ConfigFile name="/etc/xen/bcfg2"/>
<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"/>
<ConfigFile name="/etc/xen/radius"/>
<ConfigFile name="/etc/xen/ldap"/>
<ConfigFile name="/etc/xen/pgsql"/>
<ConfigFile name="/etc/xen/redisdead"/>
<ConfigFile name="/etc/xen/obm"/>
<ConfigFile name="/etc/xen/cerbere"/>
<ConfigFile name="/etc/xen/tracker"/>
<ConfigFile name="/etc/xen/whatsupdoc"/>
<ConfigFile name="/etc/xen/kenobi"/>
<ConfigFile name="/etc/xen/sogo"/>
<ConfigFile name="/etc/xen/dhcp"/>
<ConfigFile name="/etc/xen/log"/>
<ConfigFile name="/etc/xen/routeur"/>
<ConfigFile name="/etc/xen/puppet"/>
<ConfigFile name="/etc/xen/bob"/>
<Path name="/etc/xen/common.py"/>
<Path name="/etc/xen/common_squeeze.py"/>
<Path name="/etc/xen/bcfg2"/>
<Path name="/etc/xen/irc"/>
<Path name="/etc/xen/munin"/>
<Path name="/etc/xen/news"/>
<Path name="/etc/xen/niomniom"/>
<Path name="/etc/xen/o2"/>
<Path name="/etc/xen/titanic"/>
<Path name="/etc/xen/xmpp"/>
<Path name="/etc/xen/ytrap-llatsni"/>
<Path name="/etc/xen/owl"/>
<Path name="/etc/xen/asterisk"/>
<Path name="/etc/xen/radius"/>
<Path name="/etc/xen/ldap"/>
<Path name="/etc/xen/pgsql"/>
<Path name="/etc/xen/redisdead"/>
<Path name="/etc/xen/obm"/>
<Path name="/etc/xen/cerbere"/>
<Path name="/etc/xen/tracker"/>
<Path name="/etc/xen/whatsupdoc"/>
<Path name="/etc/xen/kenobi"/>
<Path name="/etc/xen/sogo"/>
<Path name="/etc/xen/dhcp"/>
<Path name="/etc/xen/log"/>
<Path name="/etc/xen/routeur"/>
<Path name="/etc/xen/puppet"/>
<Path name="/etc/xen/bob"/>
</Group>
</Base>

View file

@ -1,60 +1,60 @@
<Base>
<Group name="crans">
<ConfigFile name="/etc/hosts"/>
<ConfigFile name="/etc/timezone"/>
<Python name="/etc/hosts"/>
<Path name="/etc/timezone"/>
<Package name="python"/>
<Package name="python-netaddr"/>
<Package name="udev"/>
<SymLink name="/etc/logcheck/cracking.ignore.d/local-crans"/>
<SymLink name="/etc/logcheck/cracking.ignore.d/local-ignore"/>
<SymLink name="/etc/logcheck/violations.ignore.d/local-crans"/>
<SymLink name="/etc/logcheck/violations.ignore.d/local-ignore"/>
<Path name="/etc/logcheck/cracking.ignore.d/local-crans" type="symlink"/>
<Path name="/etc/logcheck/cracking.ignore.d/local-ignore" type="symlink"/>
<Path name="/etc/logcheck/violations.ignore.d/local-crans" type="symlink"/>
<Path name="/etc/logcheck/violations.ignore.d/local-ignore" type="symlink"/>
<!-- fichier de preferences pour darcs -->
<ConfigFile name="/etc/crans/darcs_defaults"/>
<Path name="/etc/crans/darcs_defaults"/>
<!-- mail de notification de fichiers non synchronises -->
<ConfigFile name="/etc/cron.daily/mailWarn_dirtyDarcsRepo"/>
<Path name="/etc/cron.daily/mailWarn_dirtyDarcsRepo"/>
<!-- Gestion des secrets -->
<Group name="secrets">
<Group name="bcfg2-server" negate="true">
<!-- Sur le serveur les fichiers suivant sont utilises comme
sources pour les clients -->
<Directory name="/etc/crans/secrets"/>
<ConfigFile name="/etc/crans/secrets/secrets.py"/>
<Path name="/etc/crans/secrets" type="directory"/>
<Python name="/etc/crans/secrets/secrets.py"/>
<Group name="rsync">
<ConfigFile name="/etc/crans/secrets/rsyncd.secrets"/>
<Python name="/etc/crans/secrets/rsyncd.secrets"/>
</Group>
<ConfigFile name="/etc/crans/secrets/slon.py"/>
<ConfigFile name="/etc/crans/secrets/nols.py"/>
<ConfigFile name="/etc/crans/secrets/README"/>
<Python name="/etc/crans/secrets/slon.py"/>
<Python name="/etc/crans/secrets/nols.py"/>
<Python name="/etc/crans/secrets/README"/>
</Group>
</Group>
<Package name="resolvconf"/>
<Directory name="/usr/scripts"/>
<Path name="/usr/scripts" type="directory"/>
</Group>
<Group name="fstab.local">
<!-- Autogénération du fstab -->
<ConfigFile name="/etc/fstab"/>
<Python name="/etc/fstab"/>
</Group>
<Group name="interfaces.local">
<ConfigFile name="/etc/network/interfaces"/>
<Python name="/etc/network/interfaces"/>
</Group>
<Group name="sysctl.local">
<ConfigFile name="/etc/sysctl.conf"/>
<Python name="/etc/sysctl.conf"/>
</Group>
<Group name="iscsi">
<Package name="open-iscsi"/>
<ConfigFile name="/etc/udev/rules.d/10_crans_iscsi.rules"/>
<Path name="/etc/udev/rules.d/10_crans_iscsi.rules"/>
</Group>
<Group name="firmware-bnx2">