Skip to content

Commit 924f18a

Browse files
committed
Move sssd service definition to avoid duplication
The ipa_manage_sssd block already existed and now the service lives together with the config file management.
1 parent 25262ba commit 924f18a

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

manifests/config.pp

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -191,14 +191,6 @@
191191
}
192192
}
193193

194-
if $foreman::ipa_manage_sssd {
195-
service { 'sssd':
196-
ensure => running,
197-
enable => true,
198-
require => Package['sssd-dbus'],
199-
}
200-
}
201-
202194
file { "/etc/pam.d/${foreman::pam_service}":
203195
ensure => file,
204196
owner => root,
@@ -246,6 +238,12 @@
246238
changes => $sssd_changes,
247239
notify => Service['sssd'],
248240
}
241+
242+
service { 'sssd':
243+
ensure => running,
244+
enable => true,
245+
require => Package['sssd-dbus'],
246+
}
249247
}
250248

251249
foreman::settings_fragment { 'authorize_login_delegation.yaml':

0 commit comments

Comments
 (0)