electrical/puppet-lib-file_concat

Could not autoload puppet/provider/file_concat/posix

thlapin opened this issue · 5 comments

Using rspec-puppet to test my puppet module which uses the logstash module which depends on the file_concat module. For the first test I see the following error:

     Failure/Error: it { is_expected.to compile.with_all_deps }
       error during compilation: Could not autoload puppet/type/file_concat: Could not autoload puppet/provider/file_concat/posix: cannot load such file -- puppet/provider/file_concat on node

This appears to have been introduced in 143eed4.

That's weird, haven't seen that error so far.
The acceptance tests that i run have not exposed this.
We are in the process of chancing allot to the code with PR #23 to make it simpler to manage the library.

I'm also not seeing it in acceptance tests using beaker.

I've just modified fixtures to use bmjen:add-new-params and the problem has gone away. So the refactoring there appears to be contain the necessary fix.

We will be merging the PR fairly soon and will do a release then.

Hi,

I just released version 1.0.0 at https://forge.puppetlabs.com/electrical/file_concat/

This should solve the issue you had.

Indeed, 1.0.0 fixes this issue. Thanks!