On fait des tests de version sur le groupe "squeeze" et pas "crans-squeeze"
* Le motd est affiché au login sous wheezy, si ssh l'affiche, on l'a deux fois. * les permissions sont 1660 sous wheezy * Un random fichier supprimé qui traînait dans la staging area et que j'ai la flemme de chercher à le déstager
This commit is contained in:
parent
f9e1f5d23f
commit
693e206c6e
3 changed files with 6 additions and 17 deletions
|
@ -1,14 +0,0 @@
|
||||||
[General]
|
|
||||||
|
|
||||||
Verbosity = 0
|
|
||||||
Pipefs-Directory = /var/lib/nfs/rpc_pipefs
|
|
||||||
Domain = crans.org
|
|
||||||
|
|
||||||
[Mapping]
|
|
||||||
|
|
||||||
Nobody-User = nobody
|
|
||||||
Nobody-Group = nogroup
|
|
||||||
|
|
||||||
[Translation]
|
|
||||||
|
|
||||||
Method = nsswitch
|
|
|
@ -153,7 +153,7 @@ service("openvpn-freebox",
|
||||||
init="openvpn",
|
init="openvpn",
|
||||||
extra=["depends on openvpn-komaz"])
|
extra=["depends on openvpn-komaz"])
|
||||||
|
|
||||||
pg_version = '9.1' if has('crans-wheezy') else '8.4'
|
pg_version = '8.4' if has('squeeze') else '9.1'
|
||||||
service("pgsql-server",
|
service("pgsql-server",
|
||||||
name="postgresql",
|
name="postgresql",
|
||||||
init="postgresql",
|
init="postgresql",
|
||||||
|
@ -289,7 +289,7 @@ for line in metadata.Probes["fstab_local"].splitlines():
|
||||||
|
|
||||||
# Permission attendue
|
# Permission attendue
|
||||||
perm = '660'
|
perm = '660'
|
||||||
if has('crans-wheezy'):
|
if not has('squeeze'):
|
||||||
perm = '1' + perm
|
perm = '1' + perm
|
||||||
|
|
||||||
# on vérifie le filesystem directement pour les volumes lvm
|
# on vérifie le filesystem directement pour les volumes lvm
|
||||||
|
|
|
@ -64,7 +64,10 @@ header("Configuration du serveur ssh")
|
||||||
|
|
||||||
%X11Forwarding yesno(has("users") or has("2B"))
|
%X11Forwarding yesno(has("users") or has("2B"))
|
||||||
@X11DisplayOffset 10
|
@X11DisplayOffset 10
|
||||||
@PrintMotd yes
|
if has("squeeze"):
|
||||||
|
@PrintMotd yes
|
||||||
|
else:
|
||||||
|
@PrintMotd no
|
||||||
@PrintLastLog yes
|
@PrintLastLog yes
|
||||||
@TCPKeepAlive yes
|
@TCPKeepAlive yes
|
||||||
@#UseLogin no
|
@#UseLogin no
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue