Fixes some puppet lint warnings

Puppet-lint likes when 'ensure' is the first parameter

Change-Id: I8814eb3a8279da99a2247765451fa75c30809f91
(cherry picked from commit 1369d872602a8eab5cc8e1fdd794cdff4607cf3d)