Moving ensure to the top, following Puppet lint recommendations