1. augeas fix for puppet 3.x
2. added upgrade action
3. modified init.pp into a parametrized class