[Puppet Users] Re: Binary file in eyaml breaking use of Deferred due to pson

2023-07-14 Thread 'Josh Cooper' via Puppet Users
$mykeytab = lookup('mymodule::mykeytab') file { '/path/to/mykeytab': ensure => file, content => $mykeytab, } Replace "content => $mykeytab" with "content => Binary($mykeytab)" so that the data is serialized to the agent correctly. See https://www.puppet.com/docs/puppet/7/lang_data_binar

[Puppet Users] Re: Could not autoload puppet/provider/apt_key/apt_key

2024-02-23 Thread 'Josh Cooper' via Puppet Users
The error occurs because the module is using Ruby 2.6 syntax (such as endless ranges) but Puppet 6 vendors Ruby 2.5. On Friday, February 23, 2024 at 7:39:40 AM UTC-8 Denny Fuchs wrote: > Hi, > > it seems, we have to upgrade to Puppet7. The error is gone, with this > version. > > Denny Fuchs sch