Sha256: 5f58a9c6ea336f27b27afd9415cec5a249224d346309ddec5f854c473f229a4a

Contents?: true

Size: 897 Bytes

Versions: 17

Compression:

Stored size: 897 Bytes

Contents

bash -c '
yum install -q -y ruby ruby-devel gcc gcc-c++ automake autoconf rubygems make

gem update --system
gem update
gem install ohai chef --no-rdoc --no-ri --verbose <%= '--prerelease' if @config[:prerelease] %>

mkdir -p /etc/chef

(
cat <<'EOP'
<%= IO.read(Chef::Config[:validation_key]) %>
EOP
) > /tmp/validation.pem
awk NF /tmp/validation.pem > /etc/chef/validation.pem
rm /tmp/validation.pem

(
cat <<'EOP'
log_level        :info
log_location     STDOUT
chef_server_url  "<%= Chef::Config[:chef_server_url] %>"
validation_client_name "<%= Chef::Config[:validation_client_name] %>"
<% if @config[:chef_node_name] == nil %>
# Using default node name"
<% else %>
node_name "<%= @config[:chef_node_name] %>"
<% end %> 
EOP
) > /etc/chef/client.rb

(
cat <<'EOP'
<%= { "run_list" => @run_list }.to_json %>
EOP
) > /etc/chef/first-boot.json

/usr/bin/chef-client -j /etc/chef/first-boot.json'

Version data entries

17 entries across 17 versions & 3 rubygems

Version Path
naked-chef-0.9.15.3 lib/chef/knife/bootstrap/fedora13-gems.erb
chef-0.10.0.beta.9 lib/chef/knife/bootstrap/fedora13-gems.erb
chef-0.10.0.beta.8 lib/chef/knife/bootstrap/fedora13-gems.erb
chef-0.10.0.beta.7 lib/chef/knife/bootstrap/fedora13-gems.erb
chef-0.10.0.beta.6 lib/chef/knife/bootstrap/fedora13-gems.erb
chef-0.10.0.beta.5 lib/chef/knife/bootstrap/fedora13-gems.erb
chef-0.10.0.beta.4 lib/chef/knife/bootstrap/fedora13-gems.erb
TrueCar-chef-0.10.0.beta.3 lib/chef/knife/bootstrap/fedora13-gems.erb
chef-0.10.0.beta.3 lib/chef/knife/bootstrap/fedora13-gems.erb
chef-0.10.0.beta.2 lib/chef/knife/bootstrap/fedora13-gems.erb
chef-0.10.0.beta.1 lib/chef/knife/bootstrap/fedora13-gems.erb
chef-0.10.0.beta.0 lib/chef/knife/bootstrap/fedora13-gems.erb
naked-chef-0.9.15.2 lib/chef/knife/bootstrap/fedora13-gems.erb
naked-chef-0.9.15.1 lib/chef/knife/bootstrap/fedora13-gems.erb
chef-0.9.14 lib/chef/knife/bootstrap/fedora13-gems.erb
chef-0.9.14.rc.1 lib/chef/knife/bootstrap/fedora13-gems.erb
chef-0.9.14.beta.1 lib/chef/knife/bootstrap/fedora13-gems.erb