Skip to content

Commit

Permalink
Move sssd service definition to avoid duplication
Browse files Browse the repository at this point in the history
The ipa_manage_sssd block already existed and now the service lives
together with the config file management.
  • Loading branch information
ekohl committed Jul 25, 2024
1 parent 25262ba commit 924f18a
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -191,14 +191,6 @@
}
}

if $foreman::ipa_manage_sssd {
service { 'sssd':
ensure => running,
enable => true,
require => Package['sssd-dbus'],
}
}

file { "/etc/pam.d/${foreman::pam_service}":
ensure => file,
owner => root,
Expand Down Expand Up @@ -246,6 +238,12 @@
changes => $sssd_changes,
notify => Service['sssd'],
}

service { 'sssd':
ensure => running,
enable => true,
require => Package['sssd-dbus'],
}
}

foreman::settings_fragment { 'authorize_login_delegation.yaml':
Expand Down

0 comments on commit 924f18a

Please sign in to comment.