From 586a7c80c32589323cf8f9aeba3f52d3823e6096 Mon Sep 17 00:00:00 2001 From: Gilles Dartiguelongue Date: Sat, 15 Aug 2015 12:25:03 +0200 Subject: [PATCH] Add support for Gentoo to nginx.ng --- FORMULA | 4 ++-- nginx/ng/map.jinja | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/FORMULA b/FORMULA index 1f73baf..b189890 100644 --- a/FORMULA +++ b/FORMULA @@ -1,6 +1,6 @@ name: nginx -os: RedHat, Debian, Ubuntu, Suse -os_family: RedHat, Debian, Suse +os: RedHat, Debian, Ubuntu, Suse, Gentoo +os_family: RedHat, Debian, Suse, Gentoo version: 201507 release: 1 minimum_version: 2015.8 diff --git a/nginx/ng/map.jinja b/nginx/ng/map.jinja index 74396e6..c97ab48 100644 --- a/nginx/ng/map.jinja +++ b/nginx/ng/map.jinja @@ -46,6 +46,15 @@ 'vhost_enabled': '/etc/nginx/sites-enabled', 'vhost_use_symlink': True, }, + 'Gentoo': { + 'package': 'www-servers/nginx', + 'service': 'nginx', + 'webuser': 'nginx', + 'conf_file': '/etc/nginx/nginx.conf', + 'vhost_available': '/etc/nginx/sites-available', + 'vhost_enabled': '/etc/nginx/sites-enabled', + 'vhost_use_symlink': True, + }, }, default='Debian' ), 'install_from_source': False, 'install_from_ppa': False,