Skip to content

Commit a1b2ddc

Browse files
committed
[Dependencies] Reduce dependency footprint by installing only sssd-common rather than sssd.
1 parent 0bebf8a commit a1b2ddc

File tree

8 files changed

+12
-10
lines changed

8 files changed

+12
-10
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ This file is used to list changes made in each version of the AWS ParallelCluste
1212
**CHANGES**
1313
- Add chef attribute `cluster/in_place_update_on_fleet_enabled` to disable in-place updates on compute and login nodes
1414
and achieve better performance at scale.
15-
- Load kernel module `drm_client_lib` before installation of NVIDIA driver, if available on the kernel.
15+
- Load kernel module `drm_client_lib` before installation of NVIDIA driver, if available on the kernel.
16+
- Reduce dependency footprint by installing the package `sssd-common` rather than `sssd`.
17+
1618

1719
3.14.0
1820
------

cookbooks/aws-parallelcluster-environment/resources/system_authentication/partial/_system_authentication_debian.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@
2525

2626
action_class do
2727
def required_packages
28-
%w(sssd sssd-tools sssd-ldap)
28+
%w(sssd-common sssd-tools sssd-ldap)
2929
end
3030
end

cookbooks/aws-parallelcluster-environment/resources/system_authentication/system_authentication_alinux2.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919

2020
action_class do
2121
def required_packages
22-
%w(sssd sssd-tools sssd-ldap authconfig)
22+
%w(sssd-common sssd-tools sssd-ldap authconfig)
2323
end
2424
end

cookbooks/aws-parallelcluster-environment/resources/system_authentication/system_authentication_alinux2023.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121

2222
action_class do
2323
def required_packages
24-
%w(sssd sssd-tools sssd-ldap authconfig)
24+
%w(sssd-common sssd-tools sssd-ldap authconfig)
2525
end
2626
end

cookbooks/aws-parallelcluster-environment/resources/system_authentication/system_authentication_redhat8.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@
3636

3737
action_class do
3838
def required_packages
39-
%w(sssd sssd-tools sssd-ldap authselect oddjob-mkhomedir)
39+
%w(sssd-common sssd-tools sssd-ldap authselect oddjob-mkhomedir)
4040
end
4141
end

cookbooks/aws-parallelcluster-environment/resources/system_authentication/system_authentication_rocky8.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@
3636

3737
action_class do
3838
def required_packages
39-
%w(sssd sssd-tools sssd-ldap authselect oddjob-mkhomedir)
39+
%w(sssd-common sssd-tools sssd-ldap authselect oddjob-mkhomedir)
4040
end
4141
end

cookbooks/aws-parallelcluster-environment/spec/unit/resources/system_authentication_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ def self.configure(chef_run)
2424
cached(:required_packages) do
2525
case platform
2626
when 'amazon', 'centos'
27-
%w(sssd sssd-tools sssd-ldap authconfig)
27+
%w(sssd-common sssd-tools sssd-ldap authconfig)
2828
when 'redhat', 'rocky'
29-
%w(sssd sssd-tools sssd-ldap authselect oddjob-mkhomedir)
29+
%w(sssd-common sssd-tools sssd-ldap authselect oddjob-mkhomedir)
3030
else
31-
%w(sssd sssd-tools sssd-ldap)
31+
%w(sssd-common sssd-tools sssd-ldap)
3232
end
3333
end
3434
cached(:chef_run) do

cookbooks/aws-parallelcluster-environment/test/controls/system_authentication_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
control 'tag:install_system_authentication_packages_installed' do
1313
title 'Check that system authentication packages are installed correctly'
1414

15-
packages = %w(sssd sssd-tools sssd-ldap)
15+
packages = %w(sssd-common sssd-tools sssd-ldap)
1616

1717
if os_properties.redhat8?
1818
packages.append("authselect")

0 commit comments

Comments
 (0)