Skip to content

ADCI/chef-sk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chef Server Kit

Using with Vagrant for local development:

Installation instructions:

  1. Install Virtualbox and latest Vagrant
  2. Install chef-dk
  3. Install vagrant plugins (vagrant plugin install <plugin_name>):
  • vagrant-berkshelf
  • vagrant-omnibus
  • vagrant-hostsupdater (optional)
  1. Configure Vagrantfile and application/environment cookbooks.
  2. vagrant up

Running cookbooks without vagrant:

  1. Install Chef (you can use Debian repository, omnibus installer or any other installer source)
  2. Install chef-dk
  3. Copy repository to your server
  4. Create production "role" cookbook
  5. Vendor cookbooks from Berksfile to cookbooks folder (berks vendor <cookbooks_path>)
  6. Create production role (production.rb)
  7. Create solo.rb and solo.json files (you can use examples from "chef" folder) Please note: you can use only absolute paths in solo.rb file
  8. Run chef-solo (sudo chef-solo -c solo.rb)

Releases

No releases published

Packages

No packages published