diff --git a/.gitignore b/.gitignore index 0494e1a..8db9f59 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ /utils/obs/isv* +/Gemfile.lock +/.ssh_config +/.tmp diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..5c74c92 --- /dev/null +++ b/Gemfile @@ -0,0 +1 @@ +gem 'chake', '>= 0.2.1' diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..4e14ed0 --- /dev/null +++ b/Rakefile @@ -0,0 +1,5 @@ +if !File.exist?('.ssh_config') + sh "vagrant ssh-config > .ssh_config" +end + +require 'chake' diff --git a/config.rb b/config.rb new file mode 100644 index 0000000..1d1a97c --- /dev/null +++ b/config.rb @@ -0,0 +1,4 @@ +root = File.expand_path(File.dirname(__FILE__)) +file_cache_path root + '/cache' +cookbook_path root + '/cookbooks' +role_path root + '/config/roles' diff --git a/cookbooks/basics/recipes/default.rb b/cookbooks/basics/recipes/default.rb new file mode 100644 index 0000000..ec81598 --- /dev/null +++ b/cookbooks/basics/recipes/default.rb @@ -0,0 +1 @@ +package 'vim' diff --git a/nodes.yaml b/nodes.yaml new file mode 100644 index 0000000..e6e8983 --- /dev/null +++ b/nodes.yaml @@ -0,0 +1,3 @@ +vagrant@default: + run_list: + - recipe[basics] -- libgit2 0.21.2