Skip to content

Commit dc5d57e

Browse files
authored
Merge pull request #1227 from jas01/fix-bzip2-package
No package under FreeBSD
2 parents 277ff26 + b40098b commit dc5d57e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

manifests/backup/mysqldump.pp

+5-3
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@
3030
$mysqlbackupdir_target = undef,
3131
) inherits mysql::params {
3232

33-
if $backupcompress {
34-
ensure_packages(['bzip2'])
35-
Package['bzip2'] -> File['mysqlbackup.sh']
33+
unless $::osfamily == 'FreeBSD' {
34+
if $backupcompress {
35+
ensure_packages(['bzip2'])
36+
Package['bzip2'] -> File['mysqlbackup.sh']
37+
}
3638
}
3739

3840
mysql_user { "${backupuser}@localhost":

0 commit comments

Comments
 (0)