Skip to content

Commit 405d692

Browse files
author
jtimberman
committed
add test for upstream repo, COOK-2183
1 parent a2d8b22 commit 405d692

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

test/kitchen/Kitchenfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
cookbook "nginx" do
22
configuration "ohai_plugin"
33
configuration "default"
4-
configuration "ohai_plugin"
54
configuration "source"
5+
configuration "upstream_repo"
66
configuration "authorized_ips"
77
configuration "http_echo_module"
88
# configuration "http_geoip_module" - COOK-1952
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#
2+
# Cookbook Name:: nginx_test
3+
# Recipe:: default
4+
#
5+
# Copyright 2012, Opscode, Inc.
6+
#
7+
# Licensed under the Apache License, Version 2.0 (the "License");
8+
# you may not use this file except in compliance with the License.
9+
# You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0
12+
#
13+
# Unless required by applicable law or agreed to in writing, software
14+
# distributed under the License is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
#
19+
20+
node.set['nginx']['repo_source'] = 'upstream'
21+
22+
include_recipe "nginx::repo"
23+
include_recipe "nginx::default"

0 commit comments

Comments
 (0)