diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2009-08-27 19:38:39 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2009-08-27 19:38:39 -0300 |
commit | 149cba805ca00077bc8cd663542ee755516b032a (patch) | |
tree | 926decdefbf49fa6d3461333479ba4d26ea26853 /manifests | |
parent | d162c8429284b2dd18f90c23095935b35cc0106c (diff) | |
parent | d890916504b8fe282392f0a1cddc58f12a0e983b (diff) | |
download | puppet-backupninja-149cba805ca00077bc8cd663542ee755516b032a.tar.gz puppet-backupninja-149cba805ca00077bc8cd663542ee755516b032a.tar.bz2 |
Merge branch 'master' of git://labs.riseup.net/module_backupninja
Conflicts:
manifests/dup.pp
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/client.pp | 11 | ||||
-rw-r--r-- | manifests/dup.pp | 2 |
2 files changed, 11 insertions, 2 deletions
diff --git a/manifests/client.pp b/manifests/client.pp index 8368eb4..c3d186d 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -109,3 +109,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, + } + } +} + diff --git a/manifests/dup.pp b/manifests/dup.pp index f12fc0f..9b554dc 100644 --- a/manifests/dup.pp +++ b/manifests/dup.pp @@ -84,8 +84,6 @@ define backupninja::duplicity( $order = 90, $backuptag = false, # key options $installkey = true ) { - # needed packages - package { "duplicity": ensure => installed } # the client with configs for this machine include backupninja::client |