Using ensure_packages instead of package

This commit is contained in:
LaurentCrisci 2016-04-25 13:29:36 +01:00
parent 0ad4f71934
commit cda93b8452

View file

@ -21,9 +21,7 @@ class mysql::backup::mysqldump (
$execpath = '/usr/bin:/usr/sbin:/bin:/sbin',
) inherits mysql::params {
package { 'bzip2':
ensure => $ensure,
}
ensure_packages(['bzip2'])
mysql_user { "${backupuser}@localhost":
ensure => $ensure,