Skip to content

Commit

Permalink
Add option to not install client tools (#112)
Browse files Browse the repository at this point in the history
This is for compatibility with debian systems where sssd-client
package does not exists.
  • Loading branch information
hp197 authored Aug 31, 2021
1 parent bd52ce4 commit 1083b9e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
* Fri Aug 27 2021 Henry Pauli <[email protected]> - 7.2.0
- Add an option in sssd::install to not install sssd client.
This aids in better compatibility with non RedHat based systems
where the ssssd-client package may not exists.

* Thu Aug 05 2021 Trevor Vaughan <[email protected]> - 7.1.1
- Add an override for sssd-sudo.service to start it as root:root. This aligns
with how sssd itself would start the service and the daemon cannot access
Expand Down
10 changes: 7 additions & 3 deletions manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@
# @author https://github.com/simp/pupmod-simp-sssd/graphs/contributors
#
class sssd::install (
Boolean $install_user_tools = true,
String $package_ensure = simplib::lookup('simp_options::package_ensure', { 'default_value' => 'installed' })
Boolean $install_client = true,
Boolean $install_user_tools = true,
String $package_ensure = simplib::lookup('simp_options::package_ensure', { 'default_value' => 'installed' })
) {
assert_private()
include 'sssd::install::client'

if $install_client {
include 'sssd::install::client'
}

package { ['sssd', 'sssd-dbus']:
ensure => $package_ensure
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simp-sssd",
"version": "7.1.1",
"version": "7.2.0",
"author": "SIMP Team",
"summary": "Manages SSSD",
"license": "Apache-2.0",
Expand Down

0 comments on commit 1083b9e

Please sign in to comment.