Skip to content

Latest commit

 

History

History
142 lines (79 loc) · 3.65 KB

REFERENCE.md

File metadata and controls

142 lines (79 loc) · 3.65 KB

Reference

Table of Contents

Classes

Classes

msktutil

You need to precreate the AD machine object. See README.md for how

=== Authors

Helen Griffiths, John Snowdon

=== Copyright

Copyright 2016-22 University of Newcastle

Parameters

The following parameters are available in the msktutil class:

chmodpath

Data type: Optional[Stdlib::Unixpath]

Full path to chmod binary on your system.

configpath

Data type: Optional[Stdlib::Unixpath]

Full path to krb5.conf.

cronfiles

Data type: Optional[Hash[String, Hash]]

The list of files needed to install a daily cronjob on your system.

enablecron

Data type: Optional[Variant[Enum['yes', 'no'], Boolean]]

Whether to enable the msktutil keytab rotation cronjob.

ensure

Data type: Optional[Variant[Enum['yes', 'no', 'present', 'absent'], Boolean]]

Remove (false) or install (true) everything controlled by this module.

extraopts

Data type: Optional[String]

Extra options given to msktutil to cope with your AD controller and DNS, e.g. extra service principals.

group

Data type: Optional[String]

Group owner of the system keytab.

keytabmode

Data type: Optional[Stdlib::Filemode]

File mode of system keytab.

keytabpath

Data type: Optional[Stdlib::Unixpath]

File path of system keytab.

keytabreplace

Data type: Optional[Integer]

How many days old the system keytab is before it is replaced.

makekeytab

Data type: Optional[Variant[Enum['yes', 'no'], Boolean]]

Attempt (true) or don't attempt (false) to join the domain, which makes a keytab in the process.

msktutilpath

Data type: Optional[Stdlib::Unixpath]

Full path to msktutil binary on your system.

packages

Data type: Optional[Array]

List of packages needed to obtain msktutil.

usereversedns

Data type: Optional[Variant[Enum['yes', 'no'], Boolean]]

Whether to use reverse DNS wehn rotating the keytab.

msktutil::cron

manages msktutil keytab rotation

msktutil::install

installs and removes msktutil package

msktutil::keytab

Creates the keytab.