summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-12-15 20:12:11 -0500
committerScott Moser <smoser@ubuntu.com>2012-12-15 20:12:11 -0500
commit3b37e40202143b6acafff5a5bb3dba233b91821f (patch)
tree5f00f15cb609a1add7b2a039eb2ba493b4736846 /doc
parent2235c05d8dbdd67d026b7219884c3d2e6936d67a (diff)
parentcbd1ca764ed265460c3a79729a27ca8e3841390c (diff)
downloadvyos-cloud-init-3b37e40202143b6acafff5a5bb3dba233b91821f.tar.gz
vyos-cloud-init-3b37e40202143b6acafff5a5bb3dba233b91821f.zip
Add 'omnibus' install mode for chef
This adds 'omnibus' to the values supported for chef's "omnibus_url" config option. It also: * makes 'omnibus_url' configurable in cloud-config. * adds a 'force_install' flag, to allow the install code to act even if /usr/bin/chef-client is already present.
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/cloud-config-chef.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/examples/cloud-config-chef.txt b/doc/examples/cloud-config-chef.txt
index f87472ec..4edad653 100644
--- a/doc/examples/cloud-config-chef.txt
+++ b/doc/examples/cloud-config-chef.txt
@@ -47,9 +47,13 @@ apt_sources:
chef:
- # Valid values are 'gems' and 'packages'
+ # Valid values are 'gems' and 'packages' and 'omnibus'
install_type: "packages"
+ # Boolean: run 'install_type' code even if chef-client
+ # appears already installed.
+ force_install: false
+
# Chef settings
server_url: "https://chef.yourorg.com:4000"
@@ -80,6 +84,9 @@ chef:
maxclients: 100
keepalive: "off"
+ # if install_type is 'omnibus', change the url to download
+ omnibus_url: "https://www.opscode.com/chef/install.sh"
+
# Capture all subprocess output into a logfile
# Useful for troubleshooting cloud-init issues