-
-
Notifications
You must be signed in to change notification settings - Fork 883
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #377 from 3flex/modernize-travis
Improve test suite (Travis updates, librarian-puppet removal, better utilize puppet-lint)
- Loading branch information
Showing
21 changed files
with
92 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
fixtures: | ||
symlinks: | ||
nginx: "#{source_dir}" | ||
forge_modules: | ||
apt: "puppetlabs/apt" | ||
concat: "puppetlabs/concat" | ||
stdlib: "puppetlabs/stdlib" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
files/server_test.crt | ||
files/server_test.pem | ||
pkg/ | ||
.librarian/ | ||
.tmp/ | ||
pkg/ | ||
Gemfile.lock | ||
spec/fixtures/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--fail-on-warnings | ||
--relative | ||
--no-80chars-check | ||
--no-class_inherits_from_params_class-check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,24 @@ | ||
source 'https://rubygems.org' | ||
|
||
group :test do | ||
gem 'rest-client', '~> 1.6.8', :require => false, :platforms => :ruby_18 | ||
end | ||
|
||
group :rake, :test do | ||
gem 'puppetlabs_spec_helper', :require => false | ||
gem 'puppet-blacksmith', :require => false | ||
gem 'rspec-system-puppet', :require => false | ||
end | ||
|
||
group :rake do | ||
gem 'puppet', '>=3.0.1' | ||
gem 'rspec-puppet', '>=1.0.1' | ||
gem 'rake', '>=0.9.2.2' | ||
gem 'puppet-lint', '>=0.1.12' | ||
gem 'puppetlabs_spec_helper' | ||
gem 'puppet-blacksmith' | ||
gem 'librarian-puppet', '<1.1.0' | ||
gem 'rspec-system-puppet', :require => false | ||
gem 'rspec-system-serverspec', :require => false | ||
end | ||
|
||
if puppetversion = ENV['PUPPET_GEM_VERSION'] | ||
gem 'puppet', puppetversion, :require => false | ||
else | ||
gem 'puppet', :require => false | ||
end |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
include nginx | ||
|
||
nginx::resource::location { 'www.test.com-params': | ||
ensure => present, | ||
location => '/some/url', | ||
vhost => 'www.test.com', | ||
fastcgi_param => { | ||
'APP_ENV' => 'production', | ||
'APP_VERSION' => '0.1.10', | ||
'APP_SECRET' => 'hisfaihicasagfkjsa', | ||
ensure => present, | ||
location => '/some/url', | ||
vhost => 'www.test.com', | ||
fastcgi_param => { | ||
'APP_ENV' => 'production', | ||
'APP_VERSION' => '0.1.10', | ||
'APP_SECRET' => 'hisfaihicasagfkjsa', | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
include nginx | ||
|
||
nginx::resource::vhost { 'test.local test': | ||
ensure => present, | ||
ipv6_enable => true, | ||
proxy => 'http://proxypass', | ||
ensure => present, | ||
ipv6_enable => true, | ||
proxy => 'http://proxypass', | ||
} | ||
|
||
nginx::resource::vhost { 'test.local:8080': | ||
ensure => present, | ||
listen_port => 8080, | ||
server_name => ['test.local test'], | ||
ipv6_enable => true, | ||
proxy => 'http://proxypass', | ||
ensure => present, | ||
listen_port => 8080, | ||
server_name => ['test.local test'], | ||
ipv6_enable => true, | ||
proxy => 'http://proxypass', | ||
} | ||
|