Commit a5381b3e authored by Tim Smith's avatar Tim Smith
Browse files

Remove the hostname from templates



This is a bad pattern as a lot of people use chef to build AMIs
Signed-off-by: default avatarTim Smith <tsmith@chef.io>
parent 7ef60823
# Crontab for <%= @name %> managed by Chef. Changes will be overwritten.
# Generated by Chef. Changes will be overwritten.
<% if @mailto -%>
MAILTO=<%= @mailto %>
<% end -%>
......
# Generated by chef for node: <%= node['hostname'] %>
# Generated by Chef. Changes will be overwritten.
# ----------------------------------------------------------------
# NOTE: This file is controlled by chef templates!
# Do not edit or change this file but use the cron_manage resource.
......
# Crontab for <%= @name %> managed by Chef. Changes will be overwritten.
# Generated by Chef. Changes will be overwritten.
# If you really need to change the original portions of this file, edit /etc/crontab.os_source, then re-run chef
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment