$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_binary.html#reference_template-create-binary-typed-content for more details. Also note PSON has been removed in Puppet 8. Josh -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/16e04c4f-507c-4eb6-aa02-413b6449a00fn%40googlegroups.com.