fix puppet's deprecated warnings

There are many puppet's deprecated warnings on ```vagrant up```, fixed them.