aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils/security/bitmask.pp
blob: 3676794544237107abd166c0cc6864911e57d2d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class nodo::utils::security::bitmask (
  $ensure = 'installed',
) {
  file { '/etc/apt/sources.list.d/bitmask.net.list':
    ensure  => $ensure,
    owner   => "root",
    group   => "root",
    mode    => "0644",
    content => "deb http://deb.bitmask.net/debian ${::lsbdistcodename} main\n",
    require => Package['leap-archive-keyring'],
  }

  package { [
    'bitmask',
    'leap-archive-keyring',
  ]:
    ensure  => $ensure,
    require => Apt::Sources_list['bitmask.net.list'],
  }
}