From 24e2e6cf78d79a80b2b0c1ddd9761d5b637151e3 Mon Sep 17 00:00:00 2001 From: Kurt Bendlin Date: Sun, 17 May 2015 16:43:52 +0200 Subject: [PATCH 1/2] add oath.sls --- php/ng/oauth.sls | 5 +++++ php/oauth.sls | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 php/ng/oauth.sls create mode 100644 php/oauth.sls diff --git a/php/ng/oauth.sls b/php/ng/oauth.sls new file mode 100644 index 0000000..c89b1ae --- /dev/null +++ b/php/ng/oauth.sls @@ -0,0 +1,5 @@ +{% from "php/map.jinja" import php with context %} + +php-oauth: + pkg.installed: + - name: {{ php.oauth_pkg }} diff --git a/php/oauth.sls b/php/oauth.sls new file mode 100644 index 0000000..c89b1ae --- /dev/null +++ b/php/oauth.sls @@ -0,0 +1,5 @@ +{% from "php/map.jinja" import php with context %} + +php-oauth: + pkg.installed: + - name: {{ php.oauth_pkg }} From 684a712a89ad22323f36ea17bb8a441712ed7f7d Mon Sep 17 00:00:00 2001 From: Kurt Bendlin Date: Sun, 17 May 2015 16:50:16 +0200 Subject: [PATCH 2/2] we also need the map,jinja-entry --- php/map.jinja | 2 ++ 1 file changed, 2 insertions(+) diff --git a/php/map.jinja b/php/map.jinja index 6f88ed9..c2443d0 100644 --- a/php/map.jinja +++ b/php/map.jinja @@ -7,6 +7,7 @@ 'curl_pkg': 'php5-curl', 'fpm_pkg': 'php5-fpm', 'gd_pkg': 'php5-gd', + 'oauth_pkg': 'php5-oauth', 'intl_pkg': 'php5-intl', 'json_pkg': 'php5-json', 'mbstring_pkg': 'php5', @@ -40,6 +41,7 @@ 'curl_pkg': 'curl', 'fpm_pkg': 'php-fpm', 'gd_pkg': 'php-gd', + 'oauth_pkg': 'php-oauth', 'intl_pkg': 'php-intl', 'json_pkg': 'php-common', 'mbstring_pkg': 'php-mbstring',