bundles/zfs: improvements
This commit is contained in:
parent
1c5e97a10f
commit
50372572f4
3 changed files with 46 additions and 27 deletions
|
@ -1,6 +1,42 @@
|
|||
import re
|
||||
|
||||
defaults = {
|
||||
'apt': {
|
||||
'packages': {
|
||||
'linux-headers-amd64': {
|
||||
'needed_by': {
|
||||
'pkg_apt:zfs-zed',
|
||||
'pkg_apt:zfsutils-linux',
|
||||
},
|
||||
},
|
||||
'zfs-zed': {
|
||||
'needed_by': {
|
||||
'zfs_dataset:',
|
||||
'zfs_pool:',
|
||||
},
|
||||
},
|
||||
'zfsutils-linux': {
|
||||
'needed_by': {
|
||||
'pkg_apt:zfs-zed',
|
||||
'zfs_dataset:',
|
||||
'zfs_pool:',
|
||||
},
|
||||
},
|
||||
'parted': {
|
||||
'needed_by': {
|
||||
'zfs_pool:',
|
||||
},
|
||||
},
|
||||
},
|
||||
'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',
|
||||
'zfs-auto-snapshot-hourly': '0 * * * * root /usr/local/sbin/zfs-auto-snapshot hourly',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue