Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os_hardening failing on centos7 #241

Closed
lokeshreddy4u opened this issue Jun 22, 2020 · 1 comment
Closed

os_hardening failing on centos7 #241

lokeshreddy4u opened this issue Jun 22, 2020 · 1 comment

Comments

@lokeshreddy4u
Copy link

lokeshreddy4u commented Jun 22, 2020

Describe the bug
puppet agent run failing on CentOS 7

Expected behavior
A clear and concise description of what you expected to happen.

Actual behavior

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Function Call, 'split' parameter 'str' expects a String value, got Undef (file: /etc/puppetlabs/code/environments/production/modules/os_hardening/manifests/minimize_access.pp, line: 59, column: 18) on node x.x.x.x.ec2.internal
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

Example code

Apply os_hardening module on CentOS7

OS / Environment

CentOS Linux release 7.8.2003 (Core)
Amazon EC2 instance

Puppet Version

6.16.0

Additional context
facter --custom-dir=/opt/puppetlabs/puppet/cache/lib/facter home_users
/home/centos

@mcgege
Copy link
Member

mcgege commented Aug 10, 2020

@lokeshreddy4u Is this still valid? I'm using os_hardening on multiple CentOS 7 platforms without problem ...
If yes: Can you give some more infos on your installation?

@mcgege mcgege closed this as completed Dec 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants