From 2c008cdd4fcaed82155f596a2b6e6d02308e583d Mon Sep 17 00:00:00 2001 From: N Date: Wed, 3 Oct 2018 15:45:01 +0100 Subject: [PATCH] tar is bundled with Linux & MacOS. Fix #38 --- packages/archives.sls | 2 +- packages/defaults.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/archives.sls b/packages/archives.sls index 9c7632e..47f0f78 100644 --- a/packages/archives.sls +++ b/packages/archives.sls @@ -2,7 +2,7 @@ # vim: ft=sls {% from "packages/map.jinja" import packages with context %} -{% set req_packages = packages.pkgs.required.pkgs + ['curl', 'tar', 'bzip2', 'gzip',] %} +{% set req_packages = packages.pkgs.required.pkgs + packages.archives.pkgs.required %} include: - packages.pkgs diff --git a/packages/defaults.yaml b/packages/defaults.yaml index 9fc8a08..095099b 100644 --- a/packages/defaults.yaml +++ b/packages/defaults.yaml @@ -34,6 +34,8 @@ packages: states: [] pkgs: [] archives: + pkgs: + required: ['curl', 'bzip2', 'gzip'] wanted: {} #note: dict unwanted: [] required: