Permalink
Browse files

finish move of recipes to top level

  • Loading branch information...
1 parent db5a847 commit ff067b6a4f21339f1588f8ccaea3eedf1d88e1f3 Joshua Sierles committed Dec 11, 2009
Showing with 49 additions and 0 deletions.
  1. +2 −0 attributes/timezone.rb
  2. +38 −0 metadata.json
  3. +4 −0 metadata.rb
  4. +5 −0 recipes/default.rb
View
@@ -0,0 +1,2 @@
+timezone Mash.new unless attribute?("timezone")
+timezone "UTC"
View
@@ -0,0 +1,38 @@
+{
+ "replacing": {
+
+ },
+ "long_description": "",
+ "attributes": {
+
+ },
+ "maintainer": "37signals",
+ "recommendations": {
+
+ },
+ "license": "Apache v2.0",
+ "recipes": {
+ "timezone": ""
+ },
+ "maintainer_email": "sysadmins@37signals.com",
+ "suggestions": {
+
+ },
+ "dependencies": {
+
+ },
+ "conflicting": {
+
+ },
+ "platforms": {
+
+ },
+ "description": "Configures timezone",
+ "version": "0.1.0",
+ "name": "timezone",
+ "providing": {
+ "timezone": [
+
+ ]
+ }
+}
View
@@ -0,0 +1,4 @@
+maintainer "37signals"
+maintainer_email "sysadmins@37signals.com"
+description "Configures timezone"
+version "0.1"
View
@@ -0,0 +1,5 @@
+link "/etc/localtime" do
+ filename = "/usr/share/zoneinfo/#{node[:timezone]}"
+ to filename
+ only_if { File.exists? filename }
+end

0 comments on commit ff067b6

Please sign in to comment.