aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils/storage/archive.pp
blob: 336c74d47b2f96706fd2599ebad52862e87392f5 (plain)
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
27
28
29
30
31
32
33
34
35
class nodo::utils::storage::archive (
  $ensure = 'installed',
) {
  package { [
    'git-annex',
    'convmv',
    'rdfind',
    'rclone',
  ]:
    #ensure => latest,
    ensure => $ensure,
  }

  # Not in use
  package { [
    'jigdo-file',
    'fdupes',
    'jdupes',
    'gddrescue',
    'f3',
    'hashdeep',
  ]:
    ensure => absent,
  }

  package { [
    'syslinux-utils',
  ]:
    ensure => $::architecture ? {
      'amd64' => $ensure,
      'i386'  => $ensure,
      default => absent,
    },
  }
}