summaryrefslogtreecommitdiffstats
path: root/modules/yaourt
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-11-13 00:19:06 -0500
committerJesse Luehrs <doy@tozt.net>2018-11-13 00:19:06 -0500
commitbf33ac997636c4b6c199cfff1e171ffaff437c91 (patch)
tree2f3d94f0ad3fddde69fec83c4d65356d60dea479 /modules/yaourt
parentb5fe67cdda8f05ffe814a923b1a69f7169b9db5c (diff)
downloadpuppet-tozt-bf33ac997636c4b6c199cfff1e171ffaff437c91.tar.gz
puppet-tozt-bf33ac997636c4b6c199cfff1e171ffaff437c91.zip
actually, let's make this shared again
Diffstat (limited to 'modules/yaourt')
-rw-r--r--modules/yaourt/manifests/init.pp20
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/yaourt/manifests/init.pp b/modules/yaourt/manifests/init.pp
new file mode 100644
index 0000000..871cac8
--- /dev/null
+++ b/modules/yaourt/manifests/init.pp
@@ -0,0 +1,20 @@
+class yaourt {
+ package {
+ [
+ "yajl"
+ ]:
+ ensure => 'installed',
+ install_options => ["--asdeps"];
+ }
+
+ package::makepkg { 'package-query':
+ ensure => installed,
+ asdeps => true,
+ require => Package['yajl'];
+ }
+
+ package::makepkg { 'yaourt':
+ ensure => installed,
+ require => Package::Makepkg['package-query'];
+ }
+}