-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Is this a critical security issue?
- This is not a security issue.
Describe the Bug
If I try to create a file with content that looks like this : puppet apply -e "file { '/tmp/test-bug-puppet': ensure => 'file', content => '{ABCD}X' }"
a warning and an error are displayed and the file is not created.
Expected Behavior
A file is created with content {ABCD}X
Steps to Reproduce
puppet apply -e "file { '/tmp/test-bug-puppet': ensure => 'file', content => '{ABCD}X' }"
Environment
Version: 8.19.2
Platform: Debian 12
Additional Context
The same problem was filed against Puppet 8.7 : puppetlabs/puppet#9412
Relevant log output
Warning: Using a checksum in a file's "content" property is deprecated. The ability to use a checksum to retrieve content from the filebucket using the "content" property will be removed in a future release. The literal value of the "content" property will be written to the file. The checksum retrieval functionality is being replaced by the use of static catalogs. See https://puppet.com/docs/puppet/latest/static_catalogs.html for more information.
(file: unknown, line: 1)
Error: Could not retrieve content for {ABCD}X from filebucket: Could not get filebucket from file
Error: /Stage[main]/Main/File[/tmp/test-bug-puppet]/ensure: change from 'absent' to 'file' failed: Could not retrieve content for {ABCD}X from filebucket: Could not get filebucket from file
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working