Refactored filter
Introduced puppet_config hash instead of naming each parameter at its own
Refactored filter