When running the installation command over SSH on any CentOS / RHEL version that has selinux enabled, installation will inevitably fail.
This is due to incorrect selinux detection.
The installation code tries to detect whether selinux is enabled and enforcing. It does so by invoking the getenforce utility: https://github.com/cloudify-cosmo/cloudify-manager-install/blob/4.3rc1/cfy_manager/components/manager/manager.py#L63
When SSH'ing, /usr/sbin is not found in the PATH, so getenforce isn't invoked at all. The installation code assumes in that case that selinux is not installed, and goes about installing things.
Should be fixed by explicitly referring to /usr/sbin/getenforce.
add steps to reproduce
fixed by using an absolute path for getenforce