Skip to content
Snippets Groups Projects
Verified Commit b0437f19 authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

Merge branch 'master' into puppet5

Conflicts:
	NEWS
parents 1416e38e 4f97536f
No related branches found
No related tags found
1 merge request!7Puppet5 lonlone
......@@ -17,6 +17,15 @@ unreleased (207x-xx-xx)
[several] change 'crit "stuff"' to 'crit("stuff")' to make Puppet 5
happy. [adamhl]
[postfix] Change the sender address for root mail from
"root@${::hostname}" to "root@${::fqdn}". This is needed by newer
versions of postfix and makes more sense anyway.
[wallet] Make wallet ketyab use the correct path for ktutil.
[duo] Change apt pin file to point to codename rather than archive
name. [adamhl]
[out_of_date] Add some parameters to the interface to make it easier
to point at different out-of-date servers. [adamhl]
......
......@@ -82,7 +82,7 @@ class base::postfix (
# Have mail from root@stanford.edu come from root at the local system
base::postfix::sender { 'root@stanford.edu':
ensure => "root@${::hostname}";
ensure => "root@${::fqdn}";
}
# We used to disable and stop sendmail here on Red Hat, but this doesn't
......
......@@ -8,12 +8,19 @@ define base::wallet::keytab(
$heimdal = false
) {
include base::wallet::client
if ($::lsbdistcodename == 'wheezy') {
$ktutil_exe = '/usr/sbin/ktutil'
} else {
$ktutil_exe = '/usr/bin/ktutil'
}
$wallet_opts = "-f '$path' get keytab '$name'"
exec { "wallet $wallet_opts":
path => '/bin:/usr/bin:/usr/local/bin:/usr/kerberos/bin',
command => "${kstart_cmd} wallet ${wallet_opts}",
unless => $heimdal ? {
true => "/usr/sbin/ktutil -k '$path' list | grep -i -q '$name'",
true => "${ktutil_exe} -k '$path' list | grep -i -q '$name'",
false => "klist -k '$path' | grep -i -q '$name'",
},
require => [ Package['kstart'], Package['wallet-client'] ],
......
......@@ -5,17 +5,17 @@
# in main don't have that, so we need to use the backported package we build.
Package: libduo-dev
Pin: release a=<%= lsbdistcodename %>-backports
Pin: release n=<%= lsbdistcodename %>-backports
Pin-Priority: 995
Package: libduo3
Pin: release a=<%= lsbdistcodename %>-backports
Pin: release n=<%= lsbdistcodename %>-backports
Pin-Priority: 995
Package: libpam-duo
Pin: release a=<%= lsbdistcodename %>-backports
Pin: release n=<%= lsbdistcodename %>-backports
Pin-Priority: 995
Package: login-duo
Pin: release a=<%= lsbdistcodename %>-backports
Pin: release n=<%= lsbdistcodename %>-backports
Pin-Priority: 995
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment