fixing always reinstalls
fixing provider for redhat