]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Fix apt-transport-https dependency at nodo::subsystem::apt::repo
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 21 Jun 2018 19:14:26 +0000 (16:14 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 21 Jun 2018 19:14:26 +0000 (16:14 -0300)
manifests/subsystem/apt/repo.pp

index 01210e73d1c5900a927b1d3f5ac8c26c2b932fc4..ca8f5e14bdfbad45b3bce43b3140575ac1c569a3 100644 (file)
@@ -3,8 +3,6 @@ define nodo::subsystem::apt::repo(
   $key_source,
   $ensure = present,
 ) {
-  include nodo::subsystem::apt
-
   file { "/etc/apt/trusted.gpg.d/${name}.gpg":
     ensure  => $ensure,
     owner   => "root",
@@ -20,7 +18,7 @@ define nodo::subsystem::apt::repo(
     group   => "root",
     mode    => "0644",
     content => "${definition}\n",
-    require => [ File["/etc/apt/trusted.gpg.d/${name}.gpg"], Package['http-transport-https'] ],
+    require => [ File["/etc/apt/trusted.gpg.d/${name}.gpg"], Package['apt-transport-https'] ],
     notify  => Exec["apt-repo-auto-update-${name}"],
   }