puppetlabs / puppetlabs-stdlib

Puppet Labs Standard Library module
http://forge.puppetlabs.com/puppetlabs/stdlib
Apache License 2.0
350 stars 581 forks source link

Just upgraded from 9.4.1 to 9.6.0 - file_line is no longer supported #1438

Open djmills64 opened 1 month ago

djmills64 commented 1 month ago

Describe the Bug

After upgrading to 9.6.0 we are geting the error: ESC[1;31mError: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'file_line' (file: /work/code/puppet/module/manifests/puppet_cron_client.pp, line: 597, column: 7) on node pentest-cloudexporter.ap-southeast-2.compute.internalESC[0m

Expected Behavior

We didn't get this error with 9.4.1

Steps to Reproduce

Steps to reproduce the behavior:

  1. Write some puppet code using the resource file_line
  2. apply the code

Environment

# uname -a
Linux pentest-cloudexporter 6.5.0-1024-aws #24~22.04.1-Ubuntu SMP Thu Jul 18 10:43:12 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Additional Context

Add any other context about the problem here.

ekohl commented 1 month ago

That should still be there. Perhaps another case of environment isolation problems?

djmills64 commented 1 month ago

Thanks, I'll investigate.

djmills64 commented 1 month ago

Yes, that help. Interestingly, most of our sites didn't require this. So I'm not sure why one or 2 did.