Workaround for bug https://projects.puppetlabs.com/issues/16235