Version information
This version is compatible with:
- Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x
- Puppet >= 5.0.0 < 7.0.0
- , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'treydock-sssd', '0.1.0'
Learn more about managing modules with a PuppetfileDocumentation
puppet-module-sssd
Table of Contents
- Overview
- Usage - Configuration options
- Reference - Parameter and detailed reference to all options
- Development - Guide for contributing to the module
Overview
This module manages SSSD.
Usage
sssd
include sssd
Hiera of a working SSSD deployment
sssd::configs:
sssd:
debug_level: 0x02F0
domains: LDAP
services:
- pam
- nss
nss:
debug_level: 0x02F0
filter_groups:
- root
- wheel
filter_users:
- root
pam:
debug_level: 0x02F0
domain/LDAP:
cache_credentials: true
debug_level: 0x02F0
enumerate: false
id_provider: ldap
auth_provider: ldap
chpass_provider: ldap
access_provider: ldap
ldap_uri:
- ldaps://ldap1.example.com:636
- ldaps://ldap2.example.com:636
ldap_search_base: 'dc=example,dc=com'
ldap_schema: rfc2307
ldap_tls_reqcert: demand
ldap_access_filter: '(&(objectClass=shadowAccount)(objectClass=posixAccount))'
ldap_access_order:
- filter
- expire
ldap_pwd_policy: shadow
ldap_account_expire_policy: shadow
ldap_group_member: memberuid
Reference
http://treydock.github.io/puppet-module-sssd/
Development
Testing
Testing requires the following dependencies:
- rake
- bundler
Install gem dependencies
bundle install
Run unit tests
bundle exec rake spec
If you have Vagrant >= 1.2.0 installed you can run system tests
BEAKER_set=centos-7 bundle exec rake beaker
Reference
Table of Contents
Classes
Public Classes
sssd
: Manage SSSD
Private Classes
sssd::config
:sssd::install
:sssd::service
:
Classes
sssd
Manage SSSD
Examples
include ::sssd
Parameters
The following parameters are available in the sssd
class.
package_ensure
Data type: String
Package ensure
property
Default value: 'latest'
package_name
Data type: Variant[String, Array]
Primary sssd package name
Default value: 'sssd'
extra_packages
Data type: Array
Additional SSSD packages to install
Default value: ['sssd-tools']
configs
Data type: Hash
Configs hash that defines /etc/sssd/sssd.conf
Default value: {}
configs_merge
Data type: Boolean
Sets if configs hash should be merged from Hiera
Default value: false
show_diff
Data type: Boolean
Boolean that determines if files should support showing diff
Default value: false
Change log
All notable changes to this project will be documented in this file. The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
v0.1.0 (2019-06-12)
Added
- Support Debian and Ubuntu #4 (treydock)
- Use Hiera v5 data #3 (treydock)
- Use PDK #2 (treydock)
- Disable diff for sssd.conf as it may contain passwords #1 (treydock)
0.0.1 (2018-12-21)
* This Changelog was automatically generated by github_changelog_generator
Dependencies
- puppetlabs/stdlib (>= 4.6.0 <6.0.0)
Copyright (C) 2017 <FULL NAME> <EMAIL> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.