Describe the bug
SSH hardening regressed on Amazon Linux 1, no package policycoreutils-python-utils exists.
Expected behavior
Cookbook completes w/o error.
Actual behavior
Chef::Exceptions::Package
-------------------------
No candidate version available for policycoreutils-python-utils
Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/ssh-hardening/recipes/server.rb
59: package node['ssh-hardening']['selinux']['package']
60:
OS / Environment
Amazon Linux 1, AMI name amzn-ami-hvm-2018.03.0.20191219.0-x86_64-gp2
Chef Version
Cookbook Version
Additional context
I believe the regression was introduced here: 9cc66c9
Version 2.8.0 does not have this problem.
Describe the bug
SSH hardening regressed on Amazon Linux 1, no package
policycoreutils-python-utilsexists.Expected behavior
Cookbook completes w/o error.
Actual behavior
OS / Environment
Amazon Linux 1, AMI name
amzn-ami-hvm-2018.03.0.20191219.0-x86_64-gp2Chef Version
Cookbook Version
Additional context
I believe the regression was introduced here: 9cc66c9
Version 2.8.0 does not have this problem.