+## Enable/disable feeds
+
+if node[:planet][:replication] == "enabled"
+ service "users-agreed.timer" do
+ action [:enable, :start]
+ end
+
+ service "users-deleted.timer" do
+ action [:enable, :start]
+ end
+
+ service "replication-changesets.timer" do
+ action [:enable, :start]
+ end
+
+ service "replication-minutely.timer" do
+ action [:enable, :start]
+ end
+
+ service "replication-hourly.timer" do
+ action [:enable, :start]
+ end
+
+ service "replication-daily.timer" do
+ action [:enable, :start]
+ end
+
+ service "replication-cleanup.timer" do
+ action [:enable, :start]
+ end
+else
+ service "users-agreed.timer" do
+ action [:stop, :disable]
+ end
+
+ service "users-deleted.timer" do
+ action [:stop, :disable]
+ end
+
+ service "replication-changesets.timer" do
+ action [:stop, :disable]
+ end
+
+ service "replication-minutely.timer" do
+ action [:stop, :disable]
+ end
+
+ service "replication-hourly.timer" do
+ action [:stop, :disable]
+ end
+
+ service "replication-daily.timer" do
+ action [:stop, :disable]