fix puppet's deprecated warnings