summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/package/manifests/yaourt.pp26
-rw-r--r--modules/tozt/manifests/other_packages.pp9
2 files changed, 0 insertions, 35 deletions
diff --git a/modules/package/manifests/yaourt.pp b/modules/package/manifests/yaourt.pp
deleted file mode 100644
index c49327f..0000000
--- a/modules/package/manifests/yaourt.pp
+++ /dev/null
@@ -1,26 +0,0 @@
-define package::yaourt($ensure, $asdeps=false) {
- if $asdeps {
- $_asdeps = " --asdeps"
- }
- else {
- $_asdeps = ""
- }
-
- case $ensure {
- 'installed': {
- exec { "/usr/bin/yaourt --noconfirm --needed$_asdeps -S $name":
- unless => "/usr/bin/pacman -Q $name > /dev/null 2>&1",
- require => Package::Makepkg["yaourt"];
- }
- }
- 'absent': {
- exec { "/usr/bin/yaourt --noconfirm -Rsn $name":
- onlyif => "/usr/bin/pacman -Q $name > /dev/null 2>&1",
- require => Package::Makepkg["yaourt"];
- }
- }
- default: {
- fail("only 'installed' and 'absent' are supported for 'ensure'")
- }
- }
-}
diff --git a/modules/tozt/manifests/other_packages.pp b/modules/tozt/manifests/other_packages.pp
index 88f4db0..3673fed 100644
--- a/modules/tozt/manifests/other_packages.pp
+++ b/modules/tozt/manifests/other_packages.pp
@@ -35,13 +35,4 @@ class tozt::other_packages {
package::makepkg { 'yaourt':
require => Package::Makepkg['package-query'];
}
-
- package::yaourt {
- [
- "duplicati-latest",
- "ipbt",
- "ttyrec",
- ]:
- ensure => installed,
- }
}