diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-03-23 16:05:20 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-03-23 16:05:20 -0300 |
commit | 051a85fc3a5c936a3cc13c20c9b70501b601d10a (patch) | |
tree | be33c3337f3ef1818fa6c69945d58974322af414 /manifests/utils/security | |
parent | e14311c050f797adf2f067f2f7c5bd2b9b5ce45e (diff) | |
download | puppet-nodo-051a85fc3a5c936a3cc13c20c9b70501b601d10a.tar.gz puppet-nodo-051a85fc3a5c936a3cc13c20c9b70501b601d10a.tar.bz2 |
Updates nodo::utils::security::bitmask
Diffstat (limited to 'manifests/utils/security')
-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'], |