From 9057f0984233286eed8278964a76ef595e77cd1f Mon Sep 17 00:00:00 2001 From: Giuseppe Correnti Date: Thu, 3 Jul 2014 16:18:07 +0200 Subject: [PATCH] Clean installation of the Kitchenplan configs for user giuseppe --- .gitignore | 8 ++++++++ Cheffile | 11 +++++++++++ README.md | 3 +++ config/default.yml | 17 +++++++++++++++++ config/groups/groupa.yml | 11 +++++++++++ config/groups/groupb.yml | 9 +++++++++ config/people/giuseppe.yml | 13 +++++++++++++ 7 files changed, 72 insertions(+) create mode 100644 .gitignore create mode 100644 Cheffile create mode 100644 README.md create mode 100644 config/default.yml create mode 100644 config/groups/groupa.yml create mode 100644 config/groups/groupb.yml create mode 100644 config/people/giuseppe.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..60efd3b --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +Gemfile +/vendor +kitchenplan-attributes.json +solo.rb +Cheffile.lock +.bundle +.librarian +Gemfile.lock diff --git a/Cheffile b/Cheffile new file mode 100644 index 0000000..1175dba --- /dev/null +++ b/Cheffile @@ -0,0 +1,11 @@ +site "http://community.opscode.com/api/v1" + +cookbook "homebrewalt", :github => "kitchenplan/chef-homebrewalt", :ref => "v1.8.4" +cookbook "nodejs", :github => "kitchenplan/chef-nodejs", :ref => "v1.1" +cookbook "applications", :github => "kitchenplan/chef-applications", :ref => "v2.0.2" +cookbook "osxdefaults", :github => "kitchenplan/chef-osxdefaults", :ref => "v1.0.2" +cookbook "dotfiles", :github => "kitchenplan/chef-dotfiles", :ref => "v1.1" +cookbook "drivers", :github => "kitchenplan/chef-drivers", :ref => "v1.0" +cookbook "sudoalt", :github => "kitchenplan/chef-sudoalt", :ref => "v2.4" +cookbook "dmg", :github => "opscode-cookbooks/dmg", :ref => "v2.1.4" +cookbook "composer", :github => "kitchenplan/chef-composer", :ref => "v1.0" diff --git a/README.md b/README.md new file mode 100644 index 0000000..bf76d14 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Kitchenplan Configuration + +This is a Kitchenplan configuration repository. This repository contains all configuration to install and configure our OSX workstations. More information about Kitchenplan and on how to use it can be found in the [Kitchenplan README](https://github.com/kitchenplan/kitchenplan). diff --git a/config/default.yml b/config/default.yml new file mode 100644 index 0000000..a8192d4 --- /dev/null +++ b/config/default.yml @@ -0,0 +1,17 @@ +recipes: # Configs are parsed and every list is appended to each other, chef handles order and de-duplication + global: # Recipes mentioned under "global" are installed for all operating systems (we used to support linux, and may do so in the future) + - applications::create_var_chef_cache + mac_os_x: # Recipes mentioned under "mac_os_x" are installed on OSX and OSX Server + - homebrewalt::default # Installs homebrew and homebrew cask and installs all apps mentioned in the homebrewalt:apps and homebrewalt:cask_apps attributes + - nodejs::default # Installs nodejs and installs all nodejs packages mentioned in the nodejs:apps attribute +attributes: + homebrewalt: + apps: + - git + cask_apps: + - google-chrome + cask_fonts: + - inconsolata + nodejs: + apps: + - bower diff --git a/config/groups/groupa.yml b/config/groups/groupa.yml new file mode 100644 index 0000000..22f54b8 --- /dev/null +++ b/config/groups/groupa.yml @@ -0,0 +1,11 @@ +groups: + - groupb +recipes: + mac_os_x: + - osxdefaults::set_terminal_profile +attributes: + homebrewalt: + apps: + - git-extras + cask_apps: + - sourcetree \ No newline at end of file diff --git a/config/groups/groupb.yml b/config/groups/groupb.yml new file mode 100644 index 0000000..fc539fa --- /dev/null +++ b/config/groups/groupb.yml @@ -0,0 +1,9 @@ +recipes: + mac_os_x: + - applications::sublime_text_3 +attributes: + homebrewalt: + apps: + - git-flow + cask_apps: + - slack \ No newline at end of file diff --git a/config/people/giuseppe.yml b/config/people/giuseppe.yml new file mode 100644 index 0000000..94ea471 --- /dev/null +++ b/config/people/giuseppe.yml @@ -0,0 +1,13 @@ +groups: + - groupa +recipes: + mac_os_x: + - osxdefaults::set_computer_name +attributes: + osxdefaults: + computername: MyComputerName + homebrewalt: + apps: + - git-extras + cask_apps: + - sourcetree \ No newline at end of file