Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for new feature: port ranges #1325

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
b40a4a1
Update streamhost.pp
00ssh Apr 18, 2019
c00d5e2
Update server.pp
00ssh Apr 18, 2019
efc321e
Update server.pp
00ssh May 29, 2019
d61fb86
Create portrange.pp
00ssh May 29, 2019
b727650
Updated variable name listen_port -> port
00ssh May 29, 2019
b416b8b
Updated variable name port -> ipv6_port
00ssh May 29, 2019
9dbf0a6
Changed variable name from listen_port -> port
00ssh May 29, 2019
be02ef8
added support for port range
00ssh May 29, 2019
dd1afc4
Added listen_port_range to spec attributes
00ssh May 29, 2019
513d75d
Added listen_port_range and ipv6_port_range
00ssh May 29, 2019
d0df89c
Added support for port ranges and ipv6 port ranges
00ssh May 29, 2019
fe09594
fixed value type
00ssh May 29, 2019
ec6a201
fixed value type
00ssh May 29, 2019
e09f5b4
removed new line trailing spaces
00ssh May 29, 2019
366bc45
removed new line trailing spaces
00ssh May 29, 2019
dc8b14a
remove whitespace
00ssh May 29, 2019
6a02424
fixed missing declared resource variable
00ssh May 29, 2019
addd3c6
Updated variable description
00ssh May 29, 2019
d4021eb
Merge pull request #1 from voxpupuli/master
00ssh May 30, 2019
bcad22d
Update streamhost.pp
00ssh Jun 3, 2019
ffaa006
Added nginx version checks for port range support
00ssh Jun 5, 2019
d9292c6
Added nginx version checks for port range support
00ssh Jun 5, 2019
f36f469
Updated specs for port range using nginx_version fact
00ssh Jun 5, 2019
01692cf
Updated spec for stream for port range support with nginx_version fact
00ssh Jun 5, 2019
558b32b
simplified code, updated spec, changed from fact function to $fact
Jun 5, 2019
8907ee4
updated specs for nginx_version in server resource
Jun 5, 2019
bf23d6b
updated specs for nginx_version in server resource
Jun 5, 2019
4045958
Added nginx_version fact to streamhost spec
00ssh Jun 5, 2019
f96006a
removed context "without a value for nginx_version fact"
00ssh Jun 5, 2019
0c7e28a
updated specs with correct titles
Jun 6, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updated specs for port range using nginx_version fact
  • Loading branch information
00ssh authored Jun 5, 2019
commit f36f469f36ba7fa275b93e30ce7fe3741c66bf0f
1 change: 1 addition & 0 deletions spec/defines/resource_server_spec.rb
Original file line number Diff line number Diff line change
@@ -365,6 +365,7 @@
].each do |param|
context "when #{param[:attr]} is #{param[:value]}" do
let(:params) { default_params.merge(param[:attr].to_sym => param[:value]) }
let(:facts) { facts.merge(nginx_version: '1.15.0') }

it { is_expected.to contain_concat__fragment("#{title}-header") }
it param[:title] do