bundles/zfs: debian bullseye does not need zfs from backports
This commit is contained in:
parent
6d5085c1e7
commit
210ae8dd2e
1 changed files with 10 additions and 9 deletions
|
@ -33,14 +33,6 @@ defaults = {
|
|||
},
|
||||
},
|
||||
},
|
||||
'repos': {
|
||||
'backports': {
|
||||
'install_gpg_key': False, # default debian signing key
|
||||
'items': {
|
||||
'deb http://deb.debian.org/debian {os_release}-backports main',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
'cron': {
|
||||
'zfs-auto-snapshot-daily': '0 0 * * * root /usr/local/sbin/zfs-auto-snapshot daily',
|
||||
|
@ -78,6 +70,16 @@ defaults = {
|
|||
},
|
||||
}
|
||||
|
||||
if node.os == 'debian' and node.os_version[0] <= 10:
|
||||
defaults['apt']['repos'] = {
|
||||
'backports': {
|
||||
'install_gpg_key': False, # default debian signing key
|
||||
'items': {
|
||||
'deb http://deb.debian.org/debian {os_release}-backports main',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
if node.has_bundle('telegraf'):
|
||||
defaults['telegraf'] = {
|
||||
'input_plugins': {
|
||||
|
@ -100,7 +102,6 @@ if node.has_bundle('telegraf'):
|
|||
}
|
||||
|
||||
|
||||
|
||||
@metadata_reactor.provides(
|
||||
'cron/zfs-scrub',
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue