Sha256: 55906ea58c1ceccb382cea28f3d1b511b4d21db58ae01f26bbfaa3835374b3b3

Contents?: true

Size: 451 Bytes

Versions: 6

Compression:

Stored size: 451 Bytes

Contents

#
# Cookbook Name:: <%= recipe_name %>
# Recipe:: default
#

# Note that this is for the <%= timezone %> timezone. Look in
# /usr/share/zoneinfo for your relevant file.
service "vixie-cron"
service "sysklogd"
service "nginx"

link "/etc/localtime" do
  to "/usr/share/zoneinfo/<%= timezone %>"
  notifies :restart, resources(:service => ["vixie-cron", "sysklogd", "nginx"]), :delayed
  not_if "readlink /etc/localtime | grep -q '<%= timezone %>$'"
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
engineyard-recipes-0.5.0 lib/engineyard-recipes/generators/timezone_generator/templates/cookbooks/%recipe_name%/recipes/default.rb.tt
engineyard-recipes-0.4.0 lib/engineyard-recipes/generators/timezone_generator/templates/cookbooks/%recipe_name%/recipes/default.rb.tt
engineyard-recipes-0.3.2 lib/engineyard-recipes/generators/timezone_generator/templates/cookbooks/%recipe_name%/recipes/default.rb.tt
engineyard-recipes-0.3.2.pre lib/engineyard-recipes/generators/timezone_generator/templates/cookbooks/%recipe_name%/recipes/default.rb.tt
engineyard-recipes-0.3.0 lib/engineyard-recipes/generators/timezone_generator/templates/cookbooks/%recipe_name%/recipes/default.rb.tt
engineyard-recipes-0.2.0 lib/engineyard-recipes/generators/timezone_generator/templates/cookbooks/%recipe_name%/recipes/default.rb.tt