Use of $::osfamily for wider deployment and puppet-lint errorless

This PR brings two changes : 

  * The use of $::osfamily and $::operatingsystemmajrelease instead  of respectively $::operatingsystem and $::operatingsystemrelease (This is the $::osfamilly conversion table https://github.com/puppetlabs/facter/blob/master/lib/facter/osfamily.rb)

  * All puppet-lint ERRORS has been fixed