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.
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.