Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added support for vagrant-librarian-chef plugin #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.vagrant
Berksfile.lock
Cheffile.lock
/tmp
/cookbooks
14 changes: 14 additions & 0 deletions Cheffile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env ruby
#^syntax detection
site 'http://community.opscode.com/api/v1'

cookbook 'apache2'
cookbook 'apt'
cookbook 'build-essential'
cookbook 'dotdeb', :git => 'git://github.com/homemade/chef-dotdeb.git'
cookbook 'memcached'
cookbook 'mysql'
cookbook 'openssl'
cookbook 'php'
cookbook 'postfix'
cookbook 'app', :path => './site-cookbooks/app'
7 changes: 6 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

Vagrant.configure("2") do |config|
# Enable Berkshelf support
config.berkshelf.enabled = true
# config.berkshelf.enabled = true


# Define VM box to use
config.vm.box = "precise32"
Expand All @@ -25,6 +26,10 @@ Vagrant.configure("2") do |config|

# Enable and configure chef solo
config.vm.provision :chef_solo do |chef|

# Set cookbooks_path if using Librarian-Chef (https://github.com/applicationsonline/librarian-chef)
chef.cookbooks_path = "cookbooks"

chef.add_recipe "app::packages"
chef.add_recipe "app::web_server"
chef.add_recipe "app::vhost"
Expand Down