redhat-openstack / puppet-pacemaker

Puppet modules to manage pacemaker with corosync
9 stars 25 forks source link

facter pcmk_is_remote fails on RHEL6/CentOS6 as long as systemd is not available #79

Open danyel2014 opened 7 years ago

danyel2014 commented 7 years ago

Hi all,

I got this error on a CentOS 6 machine (even the module is not actively used): Error: Facter: error while resolving custom fact "pcmk_is_remote": No such file or directory - /usr/bin/systemctl

It would be nice to test the OS version before using systemctl.

Dan

ppouliot commented 7 years ago

This also fails on debian/ubuntu due to static path of /usr/bin/systemctl in the fact.