Add timezone-ii cookbook to set timezone to UTC

This commit is contained in:
Greg Karékinian
2016-01-21 23:47:28 +00:00
parent 5db8455da3
commit b9e9a59d54
19 changed files with 605 additions and 44 deletions

View File

@@ -0,0 +1,17 @@
#
# Cookbook Name:: timezone-ii
# Recipe:: fedora
#
# Copyright 2013, Lawrence Leonard Gilbert <larry@L2G.to>
#
# Apache 2.0 License.
#
# Set timezone for Fedora by using its timedatectl utility.
bash 'timedatectl set-timezone' do
user 'root'
code "/usr/bin/timedatectl --no-ask-password set-timezone #{node.tz}"
end
# vim:ts=2:sw=2: