diff options
author | Jesse Luehrs <doy@tozt.net> | 2017-11-06 00:42:51 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2017-11-06 00:42:51 -0500 |
commit | 81003b218f43791b1d616590c0e61706bfb230e4 (patch) | |
tree | 15811297bb994957fa6b0d06550e3c3386227a0a /modules/duplicati | |
parent | 0888febf1eae39e90520a72e773a4efb44d9f76c (diff) | |
download | puppet-tozt-81003b218f43791b1d616590c0e61706bfb230e4.tar.gz puppet-tozt-81003b218f43791b1d616590c0e61706bfb230e4.zip |
install duplicati and tarsnap
Diffstat (limited to 'modules/duplicati')
-rw-r--r-- | modules/duplicati/manifests/init.pp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/modules/duplicati/manifests/init.pp b/modules/duplicati/manifests/init.pp new file mode 100644 index 0000000..e0bf007 --- /dev/null +++ b/modules/duplicati/manifests/init.pp @@ -0,0 +1,23 @@ +class duplicati { + package { + [ + "gtk-sharp-2", + "mono", + ]: + ensure => installed, + install_options => ["--asdeps"]; + } + + package::makepkg { 'duplicati-latest': + ensure => installed, + require => [ + Package['gtk-sharp-2'], + Package['mono'], + ] + } + + service { 'duplicati': + ensure => running, + require => Package::Makepkg['duplicati-latest']; + } +} |