-
-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating style for rubocops. Updating test-kitchen harness
- Loading branch information
Sean OMeara
committed
Dec 19, 2013
1 parent
4bc0fa6
commit 9f6bfa1
Showing
26 changed files
with
236 additions
and
168 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
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,20 @@ | ||
AlignParameters: | ||
Enabled: false | ||
|
||
Encoding: | ||
Enabled: false | ||
|
||
LineLength: | ||
Max: 200 | ||
|
||
HashSyntax: | ||
EnforcedStyle: hash_rockets | ||
|
||
MethodLength: | ||
Max: 25 | ||
|
||
CyclomaticComplexity: | ||
Max: 7 | ||
|
||
ParameterLists: | ||
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 |
---|---|---|
@@ -1,11 +1,13 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'berkshelf', '~> 2.0' | ||
gem 'chefspec', '~> 2.0' | ||
gem 'chefspec', '~> 3.0' | ||
gem 'foodcritic', '~> 3.0' | ||
gem 'rubocop', '~> 0.12' | ||
gem 'rubocop' | ||
|
||
group :integration do | ||
gem 'test-kitchen', '~> 1.0.0.beta' | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ | |
# | ||
|
||
module Apt | ||
# Helpers for apt | ||
module Helpers | ||
# Determines if apt is installed on a system. | ||
# | ||
|
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,34 +1,34 @@ | ||
name "apt" | ||
maintainer "Opscode, Inc." | ||
maintainer_email "[email protected]" | ||
license "Apache 2.0" | ||
description "Configures apt and apt services and LWRPs for managing apt repositories and preferences" | ||
name 'apt' | ||
maintainer 'Opscode, Inc.' | ||
maintainer_email '[email protected]' | ||
license 'Apache 2.0' | ||
description 'Configures apt and apt services and LWRPs for managing apt repositories and preferences' | ||
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) | ||
version "2.3.1" | ||
recipe "apt", "Runs apt-get update during compile phase and sets up preseed directories" | ||
recipe "apt::cacher-ng", "Set up an apt-cacher-ng caching proxy" | ||
recipe "apt::cacher-client", "Client for the apt::cacher-ng caching proxy" | ||
version '2.3.1' | ||
recipe 'apt', 'Runs apt-get update during compile phase and sets up preseed directories' | ||
recipe 'apt::cacher-ng', 'Set up an apt-cacher-ng caching proxy' | ||
recipe 'apt::cacher-client', 'Client for the apt::cacher-ng caching proxy' | ||
|
||
%w{ ubuntu debian }.each do |os| | ||
supports os | ||
end | ||
|
||
attribute "apt/cacher-client/restrict_environment", | ||
:description => "Whether to restrict the search for the caching server to the same environment as this node", | ||
:default => "false" | ||
attribute 'apt/cacher-client/restrict_environment', | ||
:description => 'Whether to restrict the search for the caching server to the same environment as this node', | ||
:default => 'false' | ||
|
||
attribute "apt/cacher_port", | ||
:description => "Default listen port for the caching server", | ||
:default => "3142" | ||
attribute 'apt/cacher_port', | ||
:description => 'Default listen port for the caching server', | ||
:default => '3142' | ||
|
||
attribute "apt/cacher_interface", | ||
:description => "Default listen interface for the caching server", | ||
:default => nil | ||
attribute 'apt/cacher_interface', | ||
:description => 'Default listen interface for the caching server', | ||
:default => nil | ||
|
||
attribute "apt/key_proxy", | ||
:description => "Passed as the proxy passed to GPG for the apt_repository resource", | ||
:default => "" | ||
attribute 'apt/key_proxy', | ||
:description => 'Passed as the proxy passed to GPG for the apt_repository resource', | ||
:default => '' | ||
|
||
attribute "apt/caching_server", | ||
:description => "Set this to true if the node is a caching server", | ||
:default => "false" | ||
attribute 'apt/caching_server', | ||
:description => 'Set this to true if the node is a caching server', | ||
:default => '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
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
Oops, something went wrong.