|
<%#
|
|
kind: snippet
|
|
name: chef_client
|
|
description: this is a single entry point for chef-client bootstrapping, it selects
|
|
a bootstrapping strategy based on host parameter named "chef_bootstrap_template"
|
|
note that it can be set per hostgroup, os, domain etc.
|
|
if there's no strategy set, omnibus is used by default
|
|
%>
|
|
echo "Bootstraping chef"
|
|
<%= snippet_if_exists(host_param('chef_bootstrap_template') || 'chef-client omnibus bootstrap') %>
|