Skip to content
Browse files

[ntp] Disable wallclock on rackspace #3981

  • Loading branch information...
1 parent c686db4 commit 124e17cb431101cb2187df1e041651ae73bd59f9 @ekargard ekargard committed Sep 29, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 ntp/recipes/default.rb
View
8 ntp/recipes/default.rb
@@ -28,6 +28,14 @@
action :install
end
+# Rackspace sepcific work around for incorrect wallclock time
+bash "Disabling Rackspace wall clock" do
+ only_if node[:cloud][:provider] == "rackspace"
+ code <<-EOH
+ echo 1 > /proc/sys/xen/independent_wallclock
+ EOH
+end
+
service node[:ntp][:service] do
action :start
end

0 comments on commit 124e17c

Please sign in to comment.
Something went wrong with that request. Please try again.