Browse Source

ci(travis): fix `opensuse` tests

tags/v0.55.0
Imran Iqbal 5 years ago
parent
commit
c24d2b64d4
2 changed files with 5 additions and 2 deletions
  1. +2
    -2
      nginx/ng/map.jinja
  2. +3
    -0
      test/integration/default/controls/config.rb

+ 2
- 2
nginx/ng/map.jinja View File

@@ -64,8 +64,8 @@
'service': 'nginx',
'webuser': 'nginx',
'conf_file': '/etc/nginx/nginx.conf',
'server_available': '/etc/nginx/sites-available',
'server_enabled': '/etc/nginx/sites-enabled',
'server_available': '/etc/nginx/vhosts.d',
'server_enabled': '/etc/nginx/vhosts.d',
'snippets_dir': '/etc/nginx/snippets',
'server_use_symlink': False,
'pid_file': '/run/nginx.pid',

+ 3
- 0
test/integration/default/controls/config.rb View File

@@ -8,6 +8,9 @@ case os[:name]
when 'redhat', 'centos', 'fedora'
server_available = '/etc/nginx/conf.d'
server_enabled = '/etc/nginx/conf.d'
when 'opensuse'
server_available = '/etc/nginx/vhosts.d'
server_enabled = '/etc/nginx/vhosts.d'
end

control 'Nginx configuration' do

Loading…
Cancel
Save