You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to some issues in the way that Puppet loads code, and some
differences in how that works in JRuby vs MRI Ruby, doing a
`require` on the `puppet/type/file` code multiple times in a
single JRuby interpreter will cause problems. Since this code
automatically gets loaded by Puppet before any custom
type/provider is loaded, the `require` statement is unnecessary.
This is related to the following Puppet Jira tickets:
https://tickets.puppetlabs.com/browse/SERVER-64https://tickets.puppetlabs.com/browse/SERVER-40
and also to the following puppet-logstash PR:
voxpupuli/puppet-logstash#196
Hopefully there will be a more permanent fix in JRuby at some point:
jruby/jruby#2477
But in the meantime, this simple workaround makes `file_concat`
compatible with Puppet Server.
0 commit comments