From 6ed177ff181377745e2ef6e9bbcfb19d90e3bb85 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Thu, 5 Feb 2015 18:08:04 -0200 Subject: [PATCH] Very first steps --- .gitignore | 3 +++ Gemfile | 1 + Rakefile | 5 +++++ config.rb | 4 ++++ cookbooks/basics/recipes/default.rb | 1 + nodes.yaml | 3 +++ 6 files changed, 17 insertions(+), 0 deletions(-) create mode 100644 Gemfile create mode 100644 Rakefile create mode 100644 config.rb create mode 100644 cookbooks/basics/recipes/default.rb create mode 100644 nodes.yaml 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