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