Version information
released Aug 23rd 2016
This version is compatible with:
- ,
Start using this module
Add this module to your Puppetfile:
mod 'af6140-wal_e', '0.2.0'
Learn more about managing modules with a PuppetfileDocumentation
af6140/wal_e — version 0.2.0 Aug 23rd 2016
puppet_wal_e
Description
Postgresql wal_e puppet module, install wal-e backup program from source or through pip. Some parts are based on chef module from wal-e project.
It supports cron job setup for base backup.
Most functionality has been tested on Centos 7 and Ubuntu 14.04.
Requirement
env_dir of Daemontools package is required to ease setup of environment variables for different storage backends. Module user need to install it as dependency.
Python and pip dependencies will be installed, documented at wal_e github page.
Depends on the cloud storage backend, configuration is required.
Usage
class {'wal_e':
env_dir => '/etc/wal-e.d' #default to this folder
user => 'postgres',
group => 'postgres',
storage_type => 'aws' #default to aws
storage_configs => {
's3_prefix' => 's3://dummy',
'aws_secret_key' => '',
'aws_access_key' => '',
'aws_region' => 'us-east-1',
}
}
Change Log
0.2.0
- do not use package to install gevent, when install wal-e 0.9.2 it pulls down latest gevent 1.1.2, which need to be compiled and is broken when /tmp is mouted as noexec
- use -b option to use wal_e::envdir as tmp dir when pip install with exec resource
0.1.6
- enable purge old backup, maximum numbers to retain
- change cron commnad to purge backup if enabled
0.1.5
- Remove --pool-size=8 from base backup options, it's seems only effective for wal-push.
0.1.4
- Change python packages installed from native os repository: python-gevent. Pip installation has issue with /tmp mounted with noexec flag. python-boto is not installed from os repository, since at least on Centos, it's dependency python-six does not meet version requirements of gcloud.