tohuwabohu / puppet-duplicity

Puppet module to manage backups based on duplicity.
Apache License 2.0
8 stars 33 forks source link

Allow configuration of the Duply cache (ARCH_DIR) directory. #17

Closed rvalle closed 9 years ago

rvalle commented 9 years ago

This PR allows to setup the ARCH_DIR directive. This is where duplicity stores sensitive information useful to workout each backup delta, etc. By default is stored in the home directory of calling user (root). This information grows quickly, into hundreds of megabytes for relatively small backups. This, in fact, did cause some of our servers to go out of disk space. I have added the necessary parameters and modified the template so that another directory can be specified, both globally and per profile. I have renamed the parameter to cache_dir, because on one hand is more representative and on the other puppet-duplicity is already using ARCH to refer to the software package.

tohuwabohu commented 9 years ago

Nice one! Thanks a lot for the contribution.

tohuwabohu commented 9 years ago

I've released version 3.5.0 to the forge.

rvalle commented 8 years ago

you are welcome. and thank you for a great module.