diff options
author | Micah Anderson <micah@riseup.net> | 2009-08-27 15:43:52 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2009-08-27 15:43:52 -0400 |
commit | a7c710bda474a08a8902978069bcc3227ba5f223 (patch) | |
tree | e17b63ca650b69aa0d3f174330f44203df6446cc /manifests | |
parent | dae31bd0aa6cb47122b080acaee584e7df354da3 (diff) | |
download | puppet-backupninja-a7c710bda474a08a8902978069bcc3227ba5f223.tar.gz puppet-backupninja-a7c710bda474a08a8902978069bcc3227ba5f223.tar.bz2 |
* add duplicity package management class to the client class
* update the README to be more clear about how this works, provide
more examples and included details about the addition of the
backupninja::client::duplicity class
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/client.pp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/client.pp b/manifests/client.pp index a3d2242..ef449f5 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -105,3 +105,14 @@ class backupninja::client::rdiff_backup inherits backupninja::client { } } } + +class backupninja::client::duplicity inherits backupninja::client { + + if !defined(Package["duplicity"]) { + if $duplicity_ensure_version == '' { $duplicity_ensure_version = 'installed' } + package { 'duplicity': + ensure => $duplicity_ensure_version, + } + } +} + |