Using ensure_packages instead of package
This commit is contained in:
parent
0ad4f71934
commit
cda93b8452
1 changed files with 1 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue