-
Notifications
You must be signed in to change notification settings - Fork 15
Catalog doesnt compile at centos7 box with puppet4.2 and puppi => true #8
Comments
Please check if the referenced commit fixes this issue |
👍 Thanks, but now the catalog misses an include puppi... i wrote it in the parent class but normally i would assume that its part of solr class if i set puppet => true explicitly |
Now Any hints?
|
Ok, further investigations: https://github.com/example42/puppet-solr/blob/master/manifests/init.pp#L218 here happens a lookup on ${settings::vardir} which is in case of puppet > 3 < 4:
on puppet > 4 its:
But for any reasons on puppet >4 on puppetmasters its during catalog compilation time: |
So, the error No such file or directory @ dir_s_rmdir - /opt/puppetlabs/server/data/puppetserver/puppi/solr20160331-27503-1fvmec7.lock is due to a missing parent directory of the vardir. The quick workaround should be to specify it explicitly. For the puppi include, I'd prefer to avoid it, as it installs the puppi command and all its dependencies and this might not be wanted. The puppi::netinstall define should be autoloaded, if puppi is in the module path. I should test this better on Puppet4 |
Probably $puppivars=get_class_args() is undefined....
This results in:
The text was updated successfully, but these errors were encountered: