Created
March 18, 2014 03:30
-
-
Save andredumas/9613071 to your computer and use it in GitHub Desktop.
Chef port of datetime puppet manifest (https://gist.github.com/andredumas/9612907)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package "language-pack-en" do | |
action :install | |
end | |
package "tzdata" do | |
action :install | |
end | |
link "/etc/localtime" do | |
to "/usr/share/zoneinfo/Australia/Melbourne" | |
end | |
file "/etc/timezone" do | |
content "Australia/Melbourne\n" | |
end | |
execute "reconfigure-timezone" do | |
command "/usr/sbin/dpkg-reconfigure --frontend noninteractive tzdata" | |
action :nothing | |
end | |
execute "gen-locale" do | |
command "/usr/sbin/locale-gen en_AU.UTF-8" | |
action :nothing | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment