ssh: Fix xauth package name for Debian/Ubuntu
This commit is contained in:
parent
af75d08f0a
commit
1f3a73e105
1 changed files with 12 additions and 2 deletions
|
@ -117,10 +117,20 @@ class ssh::server {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Needed for X11 Forwarding
|
# Needed for X11 Forwarding
|
||||||
|
case $::operatingsystem {
|
||||||
|
"centos","redhat","fedora": {
|
||||||
package { "xorg-x11-xauth":
|
package { "xorg-x11-xauth":
|
||||||
ensure => installed,
|
ensure => installed,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
"debian","ubuntu": {
|
||||||
|
package { "libxau6":
|
||||||
|
ensure => installed,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
default: {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
service { "sshd":
|
service { "sshd":
|
||||||
name => $::operatingsystem ? {
|
name => $::operatingsystem ? {
|
||||||
|
|
Loading…
Add table
Reference in a new issue