Puppet Class: bsdauth::yubikey

Inherits:
::bsdauth::params
Defined in:
manifests/yubikey.pp

Overview

Manages Yubikey profiles.

Examples:

Declaring the class

class { '::bsdauth':
  classes => {
    'auth-defaults' => {
      'capabilities' => [
        'auth=yubikey,passwd,skey',
      ],
      'order'        => '01',
    },
    ...
  },
}
include ::bsdauth::yubikey

Parameters:

  • directory (Stdlib::Absolutepath) (defaults to: $::bsdauth::params::yubikey_directory)

See Also:

Since:

  • 2.0.0



23
24
25
26
27
28
29
30
31
32
# File 'manifests/yubikey.pp', line 23

class bsdauth::yubikey (
  Stdlib::Absolutepath $directory = $::bsdauth::params::yubikey_directory,
) inherits ::bsdauth::params {

  if ! defined(Class['::bsdauth']) {
    fail('You must include the bsdauth base class before using the bsdauth::yubikey class')
  }

  contain ::bsdauth::yubikey::config
}