Colleen Murphy a6e3db8a85 Add Gemfile and puppet 4 checks
In anticipation of puppet 4, start trying to deal with puppet 4 things
that can be helpfully predicted by puppet lint plugins. Also fix lint
errors caught by the puppet-lint-absolute_classname-check gem as well
as arrow alignment errors not caught before.

Change-Id: I0b891a9f89508bca8cd30cb2fb2253779a3661b4
2015-08-03 18:42:39 -07:00

28 lines
462 B
Puppet

# Class kerberos::client
class kerberos::client (
$realm,
$kdcs,
$admin_server,
) {
include ::ntp
if ($::osfamily == 'RedHat') {
$kerberos_client = 'krb5-workstation'
} else {
$kerberos_client = 'krb5-user'
}
package { $kerberos_client:
ensure => present,
require => File['/etc/krb5.conf'],
}
file { '/etc/krb5.conf':
ensure => present,
replace => true,
content => template('kerberos/krb5.conf.erb'),
}
}