From f51fe7ccb798ef40dac16009bbcbe105fd8560d0 Mon Sep 17 00:00:00 2001 From: Kurt Bendlin Date: Thu, 21 May 2015 11:35:06 +0200 Subject: [PATCH] add oauth in php.ng --- php/ng/map.jinja | 3 +++ php/ng/oauth.sls | 7 ++----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/php/ng/map.jinja b/php/ng/map.jinja index 3c5f0fa..e2d6f2b 100644 --- a/php/ng/map.jinja +++ b/php/ng/map.jinja @@ -7,6 +7,7 @@ 'apcu': 'php5-apcu', 'cgi': 'php5-cgi', 'cli': 'php5-cli', + 'oauth': 'php5-oauth', 'apache2': 'libapache2-mod-php5', 'curl': 'php5-curl', 'fpm': 'php5-fpm', @@ -58,6 +59,7 @@ 'apcu': 'php-pecl-apcu', 'cgi': 'php-cgi', 'cli': 'php-cli', + 'oauth': 'php-oauth', 'curl': ['php-common', 'curl'], 'fpm': 'php-fpm', 'gd': 'php-gd', @@ -103,6 +105,7 @@ 'php': 'php5', 'apache2': 'apache2-mod_php5', 'cli': 'php5', + 'oauth': 'php5-oauth', 'curl': 'php5-curl', 'fpm': 'php5-fpm', 'gd': 'php5-gd', diff --git a/php/ng/oauth.sls b/php/ng/oauth.sls index c89b1ae..b100074 100644 --- a/php/ng/oauth.sls +++ b/php/ng/oauth.sls @@ -1,5 +1,2 @@ -{% from "php/map.jinja" import php with context %} - -php-oauth: - pkg.installed: - - name: {{ php.oauth_pkg }} +{% set state = 'oauth' %} +{% include "php/ng/installed.jinja" %}