Forge Home

krb5

Generate krb5.conf

9,680 downloads

8,398 latest version

1.5 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.0.3 (latest)
  • 0.0.2 (deleted)
  • 0.0.1 (deleted)
released Oct 15th 2014

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'IvanBayan-krb5', '0.0.3'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add IvanBayan-krb5
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install IvanBayan-krb5 --version 0.0.3

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

IvanBayan/krb5 — version 0.0.3 Oct 15th 2014

This is a puppet module for managing krb5 libs and krb5.conf

This module now support Debian 6, CentOS and Ubuntu Module depend on 'ripienaar/concat' module, when i have been writing and testing module i use last version from http://github.com/ripienaar/puppet-concat

As a base i use next module http://agileinf.web.cern.ch/agileinf/gitweb?p=punch-modules.git;a=tree;f=kerberos;hb=HEAD Also as a template i use saz/ntp module. Thanks to all contributors.

Sample usage:

You can configure thru 'krb5' class next things:

autoupgrade - Upgrade packages automatically, if there is a newer version. Default: true.

ensure - Ensure if present or absent. Default: present.

package - Name of the package (or packages). Only set this, if your platform is not supported or you know, what you're doing. Default: auto-set (in params.pp), platform specific

config_file - Main configuration file. Only set this, if your platform is not supported or you know, what you're doing. Default: auto-set (in params.pp), platform specific

config_file_static - Copy configuration file from specified location. Set location if you want to replicate static config file. Default: undef

class{ 'krb5': config_file => '/tmp/krb5.conf', package => [ 'libkrb53', 'krb5-user' ] }

You can configure thru 'krb5::config' part of libdefaults and appdefaults options:

Look at config.pp for supported options and it is default values.

class{ 'krb5::config': krb5default => 'TEST.RU', krb5ticket_lifetime => '25h', krb5renew_lifetime => '120h', krb5forwardable => 'true', krb5proxiable => 'true', krb5enctype => ['arcfour-hmac-md5','aes256-cts','aes128-cts','des3-cbc-sha1','des-cbc-md5','des-cbc-crc'], krb5pam => {'external' => 'true', 'krb4_convert' => 'false', 'krb4_convert_524' => 'false', 'krb4_use_as_req' => 'false' } ... }

You can configure thru 'krb5::realm' class, your realms. For supported values, look at config.pp

krb5::realm{ 'TEST.RU': default_domain => 'test.ru', kdc => ['dc1.test.ru:88', 'dc2.test.ru:88' ], kpasswd_server => 'kpass.test.ru', admin_server => 'kadmin.test.ru', v4_name_convert => { 'host' => { 'rcmd' => 'host' }
}