-
-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sean OMeara
committed
Dec 20, 2013
1 parent
bb6f973
commit 491d8b0
Showing
8 changed files
with
165 additions
and
85 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,19 +1,61 @@ | ||
--- | ||
driver_plugin: vagrant | ||
driver_plugin: digitalocean | ||
driver_config: | ||
require_chef_omnibus: true | ||
digitalocean_client_id: <%= ENV['DIGITAL_OCEAN_CLIENT_ID'] %> | ||
digitalocean_api_key: <%= ENV['DIGITAL_OCEAN_API_KEY'] %> | ||
aws_access_key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %> | ||
aws_secret_access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %> | ||
aws_ssh_key_id: <%= ENV['AWS_KEYPAIR_NAME'] %> | ||
ssh_key: <%= ENV['AWS_PRIVATE_KEY_PATH'] %> | ||
rackspace_username: <%= ENV['RACKSPACE_USERNAME'] %> | ||
rackspace_api_key: <%= ENV['RACKSPACE_API_KEY'] %> | ||
require_chef_omnibus: latest | ||
|
||
platforms: | ||
- name: ubuntu-12.04 | ||
driver_config: | ||
run_list: | ||
- recipe[apt::default] | ||
- name: ubuntu-10.04 | ||
run_list: | ||
- recipe[apt::default] | ||
- name: centos-6.4 | ||
- name: centos-5.9 | ||
# - name: centos-5.8 | ||
# driver_plugin: digitalocean | ||
# driver_config: | ||
# image_id: 1601 | ||
# flavor_id: 63 | ||
# region_id: 4 | ||
# ssh_key_ids: <%= ENV['DIGITAL_OCEAN_SSH_KEY_IDS'] %> | ||
|
||
- name: centos-6.4 | ||
driver_plugin: digitalocean | ||
driver_config: | ||
image_id: 562354 | ||
flavor_id: 63 | ||
region_id: 4 | ||
ssh_key_ids: <%= ENV['DIGITAL_OCEAN_SSH_KEY_IDS'] %> | ||
|
||
- name: amazon-2013.09 | ||
driver_plugin: ec2 | ||
driver_config: | ||
image_id: ami-3be4bc52 | ||
username: ec2-user | ||
|
||
- name: ubuntu-1004 | ||
driver_plugin: digitalocean | ||
driver_config: | ||
image_id: 14097 | ||
flavor_id: 63 | ||
region_id: 1 | ||
ssh_key_ids: <%= ENV['DIGITAL_OCEAN_SSH_KEY_IDS'] %> | ||
run_list: | ||
- recipe[apt] | ||
|
||
- name: ubuntu-1204 | ||
driver_plugin: digitalocean | ||
driver_config: | ||
image_id: 1505447 | ||
flavor_id: 63 | ||
region_id: 4 | ||
ssh_key_ids: <%= ENV['DIGITAL_OCEAN_SSH_KEY_IDS'] %> | ||
run_list: | ||
- recipe[apt] | ||
|
||
suites: | ||
- name: default | ||
run_list: | ||
- recipe[squid::default] | ||
- recipe[squid::default] |
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,14 @@ | ||
AlignParameters: | ||
Enabled: false | ||
|
||
Encoding: | ||
Enabled: false | ||
|
||
LineLength: | ||
Max: 200 | ||
|
||
HashSyntax: | ||
EnforcedStyle: hash_rockets | ||
|
||
MethodLength: | ||
Enabled: false |
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,13 @@ | ||
language: ruby | ||
bundler_args: --without development integration | ||
rvm: | ||
- 1.9.3 | ||
- 2.0.0 | ||
before_install: | ||
- "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc" | ||
before_script: | ||
- bundle exec berks install | ||
script: | ||
- bundle exec foodcritic -f any . --tags ~FC005 | ||
# - bundle exec rubocop | ||
- bundle exec rspec --color --format progress |
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,13 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'berkshelf', '~> 2.0' | ||
gem 'chefspec', '~> 3.0' | ||
gem 'foodcritic', '~> 3.0' | ||
gem 'rubocop' | ||
|
||
group :integration do | ||
gem 'test-kitchen', '~> 1.0' | ||
gem 'kitchen-vagrant', '~> 0.11' | ||
gem 'kitchen-digitalocean' | ||
gem 'kitchen-ec2' | ||
end |
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,10 +1,10 @@ | ||
name "squid" | ||
maintainer "Opscode, Inc." | ||
maintainer_email "[email protected]" | ||
license "Apache 2.0" | ||
description "Installs/Configures squid as a simple caching proxy" | ||
name 'squid' | ||
maintainer 'Opscode, Inc.' | ||
maintainer_email '[email protected]' | ||
license 'Apache 2.0' | ||
description 'Installs/Configures squid as a simple caching proxy' | ||
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) | ||
version "0.2.9" | ||
version '0.2.9' | ||
|
||
%w{ debian ubuntu centos fedora redhat scientific suse amazon}.each do |os| | ||
supports os | ||
|
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