fixed puppet deprecation warnings