-
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
1 parent
38f157d
commit d78631c
Showing
6 changed files
with
136 additions
and
0 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,10 @@ | ||
.vagrant | ||
Berksfile.lock | ||
Gemfile.lock | ||
*~ | ||
*# | ||
.#* | ||
\#*# | ||
.*.sw[a-z] | ||
*.un~ | ||
/cookbooks |
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,6 @@ | ||
site :opscode | ||
|
||
cookbook "mercurial" | ||
cookbook "git" | ||
|
||
metadata |
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,5 @@ | ||
source :rubygems | ||
|
||
gem 'berkshelf' | ||
gem 'thor-foodcritic' | ||
gem 'vagrant', '~> 1.0.5' |
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,6 @@ | ||
# encoding: utf-8 | ||
|
||
require 'bundler' | ||
require 'bundler/setup' | ||
require 'thor/foodcritic' | ||
require 'berkshelf/thor' |
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,57 @@ | ||
require 'berkshelf/vagrant' | ||
|
||
Vagrant::Config.run do |top_config| | ||
top_config.vm.define :git do |config| | ||
config.vm.host_name = "vim-config-git-berkshelf" | ||
|
||
config.vm.box = "debian-6.0.6" | ||
|
||
config.vm.network :hostonly, "33.33.33.199" | ||
|
||
config.ssh.max_tries = 40 | ||
config.ssh.timeout = 120 | ||
|
||
config.vm.provision :chef_solo do |chef| | ||
chef.run_list = [ | ||
"recipe[git::default]", | ||
"recipe[vim_config::default]" | ||
] | ||
|
||
chef.json = { | ||
:vim_config => { | ||
:bundles => { | ||
"git" => [ "git://github.com/scrooloose/nerdcommenter.git", | ||
"git://github.com/tpope/vim-endwise.git" ] | ||
} | ||
} | ||
} | ||
end | ||
end | ||
|
||
top_config.vm.define :hg do |config| | ||
config.vm.host_name = "vim-config-hg-berkshelf" | ||
|
||
config.vm.box = "debian-6.0.6" | ||
|
||
config.vm.network :hostonly, "33.33.33.200" | ||
|
||
config.ssh.max_tries = 40 | ||
config.ssh.timeout = 120 | ||
|
||
config.vm.provision :chef_solo do |chef| | ||
chef.run_list = [ | ||
"recipe[mercurial::default]", | ||
"recipe[vim_config::default]" | ||
] | ||
|
||
chef.json = { | ||
:vim_config => { | ||
:bundles => { | ||
"hg" => [ "https://bitbucket.org/delroth/vim-ack" ] | ||
} | ||
} | ||
} | ||
end | ||
end | ||
|
||
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,52 @@ | ||
# Put files/directories that should be ignored in this file. | ||
# Lines that start with '# ' are comments. | ||
|
||
## OS | ||
.DS_Store | ||
Icon? | ||
nohup.out | ||
|
||
## EDITORS | ||
\#* | ||
.#* | ||
*~ | ||
*.sw[a-z] | ||
*.bak | ||
REVISION | ||
TAGS* | ||
tmtags | ||
*_flymake.* | ||
*_flymake | ||
*.tmproj | ||
.project | ||
.settings | ||
mkmf.log | ||
|
||
## COMPILED | ||
a.out | ||
*.o | ||
*.pyc | ||
*.so | ||
|
||
## OTHER SCM | ||
*/.bzr/* | ||
*/.hg/* | ||
*/.svn/* | ||
|
||
## Don't send rspecs up in cookbook | ||
.watchr | ||
.rspec | ||
spec/* | ||
spec/fixtures/* | ||
features/* | ||
|
||
## SCM | ||
.gitignore | ||
|
||
# Berkshelf | ||
Berksfile | ||
Berksfile.lock | ||
cookbooks/* | ||
|
||
# Vagrant | ||
.vagrant |