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
|
# File 'manifests/params.pp', line 1
class wal_e::params {
$install_method = 'pip'
$repository_url = 'https://github.com/wal-e/wal-e.git'
$version = '0.9.2'
$git_version = "v${version}"
$env_dir = '/etc/wal-e.d'
$base_backup_enabled = false
$base_backup_minute = 0
$base_backup_hour = 0
$base_backup_day = '*'
$base_backup_month = '*'
$base_backup_weekday = '1'
$base_backup_options = '' #this is the default
$base_backup_retain = 7
$base_backup_purge_enabled =false
$user = 'postgres'
$group = 'postgres'
$pip_user = 'root'
$pgdata_dir = '/var/lib/pgsql/data'
$storage_type = 'aws'
case $::osfamily {
'RedHat': {
$packages = [
'gcc',
'make',
'libevent-devel',
'libxslt-devel',
'lzop',
'postgresql-devel',
'python-devel',
'python-setuptools',
'python-pip',
'git',
'pv',
]
}
'Debian': {
$packages = [
'build-essential',
'libevent-dev',
'libxslt1-dev',
'lzop',
'libpq-dev',
'python-dev',
'python-pip',
'git',
'pv',
]
}
default: {
}
}
$pips = [
'boto',
'azure',
'gcloud',
'python-swiftclient',
'python-keystoneclient'
]
}
|