undefined method `assignable?' for nil:NilClass

Description

On a Puppet Enterprise 2018.1.0 (puppet-agent 5.5.1) system with SIMP 6.1 and current compliance_markup (from master, minus commit 04c200e to avoid the sudosh/tlog replacement), we're seeing the following error:

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Function Call, undefined method `assignable?' for nil:NilClass (file: /etc/puppetlabs/code/environments/SIMP/simp/simp/manifests/init.pp, line: 171, column: 5) on node <agent fqdn>

This is with the following in hiera:

{{compliance_markup::enforcement:

  • disa_stig

  • nist_800_53_rev4}}

Removing nist_800_53_rev4 eliminates the error.

The source of error was an include line in simp/manifests/init.pp.

Previously I was able to isolate a trigger that no longer exists in current compliance_markup. compliance_markup was providing the deprecated parameter pupmod::ca_crl_pull_interval. The deprecation() function call in pupmod/manifests/init.pp appeared to be the source of the "assignable?" error.

It is likely that another deprecation() call elsewhere is the source of this error, but I have not been able to trace it down yet.

Acceptance Criteria

None

Activity

Show:
Steven Pritchard
April 4, 2019, 7:22 PM

Same issue reported on RHEL 6 with compliance_markup::enforcement set to nist_800_53_rev4 (PE 2019.0.1, puppet agent 5.5.8 and SIMP 6.3).

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Function Call, undefined method `assignable?' for nil:NilClass (file: /etc/puppetlabs/code/environments/SIMP/simp/simp/manifests/init.pp, line: 206, column: 7) on node <agent fqdn>

Labels

None

Epic Link

Story Points

None

Components

Affects versions

Priority

Medium
Configure