]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Package pruning
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 13 May 2019 11:50:25 +0000 (08:50 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 13 May 2019 11:50:25 +0000 (08:50 -0300)
manifests/utils/bitcoin.pp
manifests/utils/monkeysphere.pp
manifests/utils/web/gui.pp

index afa94ca2170a424cd3ae7ccfd523fd0d940e78a2..6493276462cdec336fc7ee234e493afd0594a60d 100644 (file)
@@ -1,10 +1,14 @@
 class nodo::utils::bitcoin (
   $ensure = 'installed',
 ) {
+  # Currently ony on sid
   package { [
     'electrum',
   ]:
-    ensure => $ensure,
+    ensure => $::lsbdistcodename ? {
+      'sid'   => $ensure,
+      default => absent,
+    },
   }
 
   # To be considered
index d04123e5d024f7e071df1ae8f93424f4934248d0..fc1f6ff31888fe174341e37b95644196549b7145 100644 (file)
@@ -3,11 +3,15 @@ class nodo::utils::monkeysphere (
 ) {
   # Monkeysphere
   package { [
-    'xul-ext-monkeysphere',
-    'xul-ext-noscript',
-    'xul-ext-firebug',
     'msva-perl',
   ]:
     ensure => $ensure,
   }
+
+  # Not available anymore
+  package { [
+    'xul-ext-monkeysphere',
+  ]:
+    ensure => absent,
+  }
 }
index 6e930e65e0e1a4ae92c15e96fb79f77c03d693e3..58e7cf80b56efc5135f3bfd5a09fcd495101468b 100644 (file)
@@ -7,7 +7,9 @@ class nodo::utils::web::gui (
     'chromium',
     'chromium-l10n',
     'xul-ext-https-everywhere',
-    'xul-ext-refcontrol',
+    #'xul-ext-refcontrol',
+    #'xul-ext-firebug',
+    #'xul-ext-noscript',
     #'xul-ext-pentadactyl',
     #'xul-ext-stylish',
     #'maildir-utils',
@@ -28,6 +30,15 @@ class nodo::utils::web::gui (
     ensure => $ensure,
   }
 
+  # Upcoming
+  #package { [
+  #  'webext-noscript',
+  #  'webext-treestyletab',
+  #  'webext-https-everywhere',
+  #]:
+  #  ensure => $ensure,
+  #}
+
   # Browser alternative
   file { "/etc/alternatives/x-www-browser":
     ensure  => $ensure ? {