File openstack-ceilometer-polkit.rules of Package openstack-monasca-ceilometer

// grant ceilometer libvirt management permissions

polkit.addRule(function(action, subject) {
    if (action.id == "org.libvirt.unix.monitor" &&
        subject.user == "ceilometer") {
        return polkit.Result.YES;
    }
});
openSUSE Build Service is sponsored by