blob: daf26c6dfc3b78128ed846a4e66f5e4cce7b220e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
#!/bin/sh
set -e
CONFFILE="/etc/default/storage-tools"
. /usr/share/debconf/confmodule
if [ -e "${CONFFILE}" ]
then
. ${CONFFILE} || true
db_set open-infrastructure-storage-tools/ceph-log "${CEPH_LOG}"
db_set open-infrastructure-storage-tools/ceph-info "${CEPH_INFO}"
db_set open-infrastructure-storage-tools/cephfs-snap "${CEPHFS_SNAP}"
db_set open-infrastructure-storage-tools/cephfs-snap-directories "${CEPHFS_SNAP_DIRECTORIES}"
db_set open-infrastructure-storage-tools/cephfs-snap-hourly "${CEPHFS_SNAP_HOURLY}"
db_set open-infrastructure-storage-tools/cephfs-snap-daily "${CEPHFS_SNAP_DAILY}"
db_set open-infrastructure-storage-tools/cephfs-snap-weekly "${CEPHFS_SNAP_WEEKLY}"
db_set open-infrastructure-storage-tools/cephfs-snap-monthly "${CEPHFS_SNAP_MONTHLY}"
db_set open-infrastructure-storage-tools/cephfs-snap-yearly "${CEPHFS_SNAP_YEARLY}"
db_set open-infrastructure-storage-tools/irc "${IRK_TARGETS}"
fi
db_settitle open-infrastructure-storage-tools/title
db_input low open-infrastructure-storage-tools/ceph-log || true
db_go
db_settitle open-infrastructure-storage-tools/title
db_input low open-infrastructure-storage-tools/ceph-info || true
db_go
db_settitle open-infrastructure-storage-tools/title
db_input low open-infrastructure-storage-tools/cephfs-snap || true
db_go
db_settitle open-infrastructure-storage-tools/title
db_input low open-infrastructure-storage-tools/cephfs-snap-directories || true
db_go
db_settitle open-infrastructure-storage-tools/title
db_input low open-infrastructure-storage-tools/cephfs-snap-hourly || true
db_go
db_settitle open-infrastructure-storage-tools/title
db_input low open-infrastructure-storage-tools/cephfs-snap-daily || true
db_go
db_settitle open-infrastructure-storage-tools/title
db_input low open-infrastructure-storage-tools/cephfs-snap-weekly || true
db_go
db_settitle open-infrastructure-storage-tools/title
db_input low open-infrastructure-storage-tools/cephfs-snap-monthly || true
db_go
db_settitle open-infrastructure-storage-tools/title
db_input low open-infrastructure-storage-tools/cephfs-snap-yearly || true
db_go
db_settitle open-infrastructure-storage-tools/title
db_input low open-infrastructure-storage-tools/irc || true
db_go
db_stop
|