-
Notifications
You must be signed in to change notification settings - Fork 7
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
Showing
23 changed files
with
1,154 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<% proxy_vars = {} %> | ||
<% %w(http_proxy https_proxy no_proxy).each do |envvar| %> | ||
<% if ENV.key?(envvar) %> | ||
<% proxy_vars[envvar] = ENV[envvar] %> | ||
<% end %> | ||
<% end %> | ||
--- | ||
driver: | ||
name: vagrant | ||
network: | ||
- ["forwarded_port", { guest: 3000, host: 3000 }] | ||
- ["private_network", {ip: "192.168.33.33" }] | ||
|
||
<% if proxy_vars.size > 0 %> | ||
driver_config: | ||
<% %w(http_proxy https_proxy no_proxy).each do |envvar| %> | ||
<% if ENV.key?(envvar) %> | ||
<%= envvar %>: '<%= ENV[envvar] %>' | ||
<% end %> | ||
<% end %> | ||
|
||
<% end %> | ||
|
||
provisioner: | ||
name: chef_zero | ||
client_rb: | ||
<% %w(http_proxy https_proxy no_proxy).each do |envvar| %> | ||
<% if ENV.key?(envvar) %> | ||
<%= envvar %>: '<%= ENV[envvar] %>' | ||
<% end %> | ||
<% end %> | ||
|
||
platforms: | ||
- name: opscode-centos-6.5 | ||
|
||
suites: | ||
- name: default | ||
run_list: | ||
- recipe[grafana2::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,2 @@ | ||
--color | ||
--require spec_helper |
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,24 @@ | ||
AllCops: | ||
Exclude: | ||
- 'vendor/**/*' | ||
|
||
Style/SingleSpaceBeforeFirstArg: | ||
Exclude: | ||
- '**/Berksfile' | ||
- '**/metadata.rb' | ||
|
||
Style/FileName: | ||
Exclude: | ||
- '**/Gemfile' | ||
- '**/Berksfile' | ||
|
||
Metrics/LineLength: | ||
Max: 150 | ||
|
||
Style/RegexpLiteral: | ||
Exclude: | ||
- '**/Guardfile' | ||
|
||
Style/AlignParameters: | ||
Exclude: | ||
- '**/Gemfile' |
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,2 @@ | ||
--- | ||
template_version: 0.16.2 |
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,10 @@ | ||
source 'https://supermarket.chef.io' | ||
|
||
metadata | ||
|
||
# load local overrides | ||
berksfile_dir = File.absolute_path(File.join('.', 'lib', 'berksfile')) | ||
Dir.glob(File.join(berksfile_dir, '*.berks')).each do |snippet| | ||
# rubocop:disable Lint/Eval | ||
eval File.read(snippet), nil, snippet | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Revision History for grafana2 | ||
|
||
## 0.1.4 | ||
- Nathan Haneysmith <[email protected]> | ||
- Go ahead and keep grafana package updated | ||
|
||
## 0.1.3 | ||
- Nathan Haneysmith <[email protected]> | ||
- No more defaults.ini, just grafana.ini | ||
|
||
## 0.1.2 | ||
- Nathan Haneysmith <[email protected]> | ||
- Sessions in MySQL | ||
|
||
## 0.1.1 | ||
- Nathan Haneysmith <[email protected]> | ||
- Adding in templates for config | ||
|
||
## 0.1.0 | ||
- Nathan Haneysmith <[email protected]> | ||
- Initial commit, pkg install and service definition |
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,48 @@ | ||
source 'https://rubygems.org' | ||
|
||
group :development do | ||
gem 'rake', '~> 10.3' | ||
gem 'pry' | ||
gem 'pry-byebug' | ||
gem 'pry-rescue', '~> 1.3' | ||
gem 'pry-stack_explorer', '~> 0.4' | ||
end | ||
|
||
group :test do | ||
gem 'foodcritic', '~> 4.0' | ||
gem 'chefspec', '~> 4.1' | ||
gem 'ci_reporter_rspec', '~> 1.0' | ||
gem 'test-kitchen', '~> 1.2' | ||
gem 'kitchen-vagrant', '~> 0.15' | ||
# log_switch v1.0.0 breaks tailor v1.4.0 but tailor | ||
# does a >= pin; we add a ~> pin for now to keep us | ||
# on the 0.4.x release | ||
gem 'log_switch', '~> 0.4' | ||
gem 'tailor', '~> 1.4' | ||
# use our forked version until | ||
# https://github.com/berkshelf/berkshelf/pull/1393 has been accepted | ||
gem 'berkshelf', '~> 3.2', | ||
git: 'https://github.com/Nordstrom/berkshelf.git', | ||
branch: 'use_httpclient_instead_of_nethttp' | ||
# use our forked version until | ||
# https://github.com/berkshelf/berkshelf-api-client/pull/5 has been accepted | ||
gem 'berkshelf-api-client', '~> 1.2', | ||
git: 'https://github.com/Nordstrom/berkshelf-api-client.git', | ||
branch: 'use_httpclient_instead_of_nethttp' | ||
# pin to 2.8 series until guard-foodcritic has been updated for v2 API | ||
gem 'guard', '~> 2.8.2' | ||
# pin to 4.3 series until guard-foodcritic has been updated for v2 API | ||
gem 'guard-rspec', '~> 4.3.1' | ||
gem 'guard-foodcritic', '~> 1.0' | ||
gem 'guard-rake', '~> 0.0' | ||
gem 'rubocop', '~> 0.28.0' | ||
gem 'guard-rubocop', '~> 1.1' | ||
gem 'ruby_gntp', '~> 0.3' | ||
end | ||
|
||
# load local overrides | ||
gemfile_dir = File.absolute_path(File.join('.', 'lib', 'gemfile')) | ||
Dir.glob(File.join(gemfile_dir, '*.bundler')).each do |snippet| | ||
# rubocop:disable Lint/Eval | ||
eval File.read(snippet), nil, snippet | ||
end |
Oops, something went wrong.