Skip to content

os_hardening failing on centos7 #241

@lokeshreddy4u

Description

@lokeshreddy4u

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions