diff options
Diffstat (limited to 'manifests/utils')
-rw-r--r-- | manifests/utils/security/bitmask.pp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/manifests/utils/security/bitmask.pp b/manifests/utils/security/bitmask.pp index 025418a..3676794 100644 --- a/manifests/utils/security/bitmask.pp +++ b/manifests/utils/security/bitmask.pp @@ -1,15 +1,18 @@ class nodo::utils::security::bitmask ( $ensure = 'installed', ) { - # You need to manually add https://dl.bitmask.net/apt.key into apt keyring - ::apt::sources_list { 'bitmask.net.list': - content => "deb http://deb.bitmask.net/debian wheezy main\n", + 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-keyring', + 'leap-archive-keyring', ]: ensure => $ensure, require => Apt::Sources_list['bitmask.net.list'], |