-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strange error on Puppet 4: Could not autoload puppet/type/sysctl #49
Comments
You might consider my fork under the puppet4 branch. It is not precisely backwards compatible but I think it's more straightfoward and follows puppet4 style. e.g.
|
@tpdownes Interesting, thanks for the link. So far it seems to be working fine. Any chance to release your fork with updated documentation? |
@deric See the following Puppet 4 release on forge I have taken pains to ensure Matthias` authorship is clearly attributed. |
This is still a problem. Error: Could not retrieve catalog from remote server: Error 500 on SERVER: {"message":"Server Error: Evaluation Error: Error while evaluating a Function Call, Could not autoload puppet/type/sysctl: Attempt to redefine entity 'http://puppet.com/2016.1/runtime/type/sysctl'. Originally set at file:/etc/puppetlabs/code/environments/production/modules/sysctl/manifests/init.pp?line=17&pos=1. at /etc/puppetlabs/code/environments/production/modules/sysctl/manifests/base.pp:24:5 on node |
We also have the same problem |
I had the same problem, but only on some puppet agent and not the others (even taking into account the fact it only happens at the first run of puppet master), that's quite strange. But since I'm using puppet master through passenger, I was getting these errors quite a lot in the logs. I "fixed" it by circumventing the call to ::sysctl { 'entry': } with this kind of code:
With that code, I get no more errors. |
During first run a strange error is thrown:
Second run then works fine.
The text was updated successfully, but these errors were encountered: