fix deprecation warnings
fix deprecation warnings

jwennerberg/puppet-module-netbackup,Ericsson/puppet-module-netbackup,jwennerberg/puppet-module-netbackup,xanddah/puppet-module-netbackup,kividiot/puppet-module-netbackup,Ericsson/puppet-module-netbackup,kividiot/puppet-module-netbackup,mcgill-it/puppet-module-netbackup,mcgill-it/puppet-module-netbackup,xanddah/puppet-module-netbackup