Skip to content

Commit

Permalink
Fix broken convergence tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sethvargo committed Sep 25, 2013
1 parent 7b2235b commit 2e8138c
Show file tree
Hide file tree
Showing 2 changed files with 119 additions and 136 deletions.
251 changes: 117 additions & 134 deletions .kitchen.yml
Original file line number Diff line number Diff line change
@@ -1,141 +1,124 @@
---
driver_plugin: vagrant
driver_config:
require_chef_omnibus: 11.6.0
network:
- [private_network, ip: 33.33.33.10]
require_chef_omnibus: true
customize:
cpus: 2
memory: 1024

platforms:
- name: ubuntu-12.10
driver_config:
box: opscode-ubuntu-12.10
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_ubuntu-12.10_provisionerless.box
run_list:
- recipe[apt]
- name: ubuntu-12.04
driver_config:
box: opscode-ubuntu-12.04
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_ubuntu-12.04_provisionerless.box
run_list:
- recipe[apt]
- name: ubuntu-10.04
driver_config:
box: opscode-ubuntu-10.04
box_url: https://opscode-vm.s3.amazonaws.com/vagrant/opscode_ubuntu-10.04_provisionerless.box
run_list:
- recipe[apt]
- name: centos-5.9
driver_config:
box: opscode-centos-5.9
box_url: https://opscode-vm.s3.amazonaws.com/vagrant/opscode_centos-5.9_provisionerless.box
- name: centos-6.4
driver_config:
box: opscode-centos-6.4
box_url: https://opscode-vm.s3.amazonaws.com/vagrant/opscode_centos-6.4_provisionerless.box
- name: ubuntu-12.10
run_list:
- recipe[apt]
- name: ubuntu-12.04
run_list:
- recipe[apt]
- name: ubuntu-10.04
run_list:
- recipe[apt]
- name: centos-5.9

suites:
- name: server_package
run_list:
- recipe[jenkins::server]
- recipe[minitest-handler]
attributes:
jenkins:
server:
install_method: package
plugins:
- name: git-client
version: 1.0.5
- name: git
version: 1.3.0
- name: server_war
run_list:
- recipe[jenkins::server]
- recipe[minitest-handler]
attributes:
jenkins:
server:
install_method: war
plugins:
- name: git-client
version: 1.0.5
- name: git
version: 1.3.0
- name: server-proxy-nginx
run_list:
- recipe[jenkins::server]
- recipe[jenkins::proxy]
attributes:
jenkins:
http_proxy:
variant: nginx
host_name: 33.33.33.10
- name: server-proxy-nginx-ssl
run_list:
- recipe[jenkins-test::generate_certs]
- recipe[jenkins::server]
- recipe[jenkins::proxy]
attributes:
jenkins:
http_proxy:
variant: nginx
host_name: 33.33.33.10
ssl:
enabled: true
redirect_http: true
- name: server-proxy-nginx-basicauth
run_list:
- recipe[jenkins::server]
- recipe[jenkins::proxy]
attributes:
jenkins:
http_proxy:
variant: nginx
host_name: 33.33.33.10
server_auth_method: basic
basic_auth_username: foo
basic_auth_password: bar
- name: server-proxy-apache2
run_list:
- recipe[jenkins::server]
- recipe[jenkins::proxy]
attributes:
jenkins:
http_proxy:
variant: apache2
host_name: 33.33.33.10
- name: server-proxy-apache2-ssl
run_list:
- recipe[jenkins-test::generate_certs]
- recipe[jenkins::server]
- recipe[jenkins::proxy]
attributes:
jenkins:
http_proxy:
variant: apache2
host_name: 33.33.33.10
ssl:
enabled: true
redirect_http: true
- name: server-proxy-apache2-basicauth
run_list:
- recipe[jenkins::server]
- recipe[jenkins::proxy]
attributes:
jenkins:
http_proxy:
variant: apache2
host_name: 33.33.33.10
server_auth_method: basic
basic_auth_username: foo
basic_auth_password: bar
- name: node
run_list:
- recipe[jenkins::server]
- recipe[jenkins::node]
- recipe[minitest-handler]
attributes:
jenkins:
node:
env:
foo: bar
- name: server_package
run_list:
- recipe[jenkins::server]
- recipe[minitest-handler]
attributes:
jenkins:
server:
install_method: package
plugins:
- name: git-client
version: 1.0.5
- name: git
version: 1.3.0
- name: server_war
run_list:
- recipe[jenkins::server]
- recipe[minitest-handler]
attributes:
jenkins:
server:
install_method: war
plugins:
- name: git-client
version: 1.0.5
- name: git
version: 1.3.0
- name: server-proxy-nginx
run_list:
- recipe[jenkins::server]
- recipe[jenkins::proxy]
attributes:
jenkins:
http_proxy:
variant: nginx
host_name: 33.33.33.10
- name: server-proxy-nginx-ssl
run_list:
- recipe[jenkins-test::generate_certs]
- recipe[jenkins::server]
- recipe[jenkins::proxy]
attributes:
jenkins:
http_proxy:
variant: nginx
host_name: 33.33.33.10
ssl:
enabled: true
redirect_http: true
- name: server-proxy-nginx-basicauth
run_list:
- recipe[jenkins::server]
- recipe[jenkins::proxy]
attributes:
jenkins:
http_proxy:
variant: nginx
host_name: 33.33.33.10
server_auth_method: basic
basic_auth_username: foo
basic_auth_password: bar
- name: server-proxy-apache2
run_list:
- recipe[jenkins::server]
- recipe[jenkins::proxy]
attributes:
jenkins:
http_proxy:
variant: apache2
host_name: 33.33.33.10
- name: server-proxy-apache2-ssl
run_list:
- recipe[jenkins-test::generate_certs]
- recipe[jenkins::server]
- recipe[jenkins::proxy]
attributes:
jenkins:
http_proxy:
variant: apache2
host_name: 33.33.33.10
ssl:
enabled: true
redirect_http: true
- name: server-proxy-apache2-basicauth
run_list:
- recipe[jenkins::server]
- recipe[jenkins::proxy]
attributes:
jenkins:
http_proxy:
variant: apache2
host_name: 33.33.33.10
server_auth_method: basic
basic_auth_username: foo
basic_auth_password: bar
- name: node
run_list:
- recipe[jenkins::server]
- recipe[jenkins::node]
- recipe[minitest-handler]
attributes:
jenkins:
node:
env:
foo: bar
4 changes: 2 additions & 2 deletions providers/plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ def do_install_plugin
group node['jenkins']['server']['group']
backup false
action :create
notifies :restart, 'service[jenkins'
notifies :create, 'ruby_block[block_until_operational'
notifies :restart, 'service[jenkins]'
notifies :create, 'ruby_block[block_until_operational]'
end

file "#{plugin_file_path}.pinned" do
Expand Down

0 comments on commit 2e8138c

Please sign in to comment.