summaryrefslogtreecommitdiffstats
path: root/tozt/duplicati/manifests/init.pp
blob: 643dd434279d95a97afe76617e8848fb66bf000d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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,
    enable => true,
    require => Package::Makepkg['duplicati-latest'];
  }

  # XXX configure backups
}