$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
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