rewrite of init.pp using puppet anchor pattern