Fix an error when detecting the controller role
Fix an error when detecting the controller role

If a controller node has another role like a ceph-osd role, it will be
seen as a ceph-osd role if we use hiera('role') to test it. Now we
check if it has controller or primary-controller role according to its
roles.

Change-Id: Ia35ecdd47e32cf3d01cd19952bf5ffa61e136184
stackforge/fuel-plugin-lma-collector,stackforge/fuel-plugin-lma-collector,stackforge/fuel-plugin-lma-collector,stackforge/fuel-plugin-lma-collector,stackforge/fuel-plugin-lma-collector