mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 06:43:53 +08:00
f3bcbd8bc3
This introduces two configuration management runs into the Vagrant provisioning phase. The first chef-solo run ensures that a current version of chef is installed using the omnibus updater. The second chef-solo run installs vim and phantomjs. Much more is possible, this is a proof of concept. Cookbooks are stored in the chef directory, and managed by librarian-chef, which is like a bundler for cookbooks. Chef is run when VM is first downloaded and booted, but not on subsequent halt/up cycles. To force chef to run again, use `vagrant provision`.
15 lines
653 B
Ruby
15 lines
653 B
Ruby
name "apt"
|
|
maintainer "Opscode, Inc."
|
|
maintainer_email "cookbooks@opscode.com"
|
|
license "Apache 2.0"
|
|
description "Configures apt and apt services and LWRPs for managing apt repositories and preferences"
|
|
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
|
|
version "1.8.4"
|
|
recipe "apt", "Runs apt-get update during compile phase and sets up preseed directories"
|
|
recipe "apt::cacher-ng", "Set up an apt-cacher-ng caching proxy"
|
|
recipe "apt::cacher-client", "Client for the apt::cacher-ng caching proxy"
|
|
|
|
%w{ ubuntu debian }.each do |os|
|
|
supports os
|
|
end
|