Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/adblockplus/manifests/init.pp

Issue 29337931: Issue 3574 - Move timezone setup from class base to module adblockplus (Closed)
Patch Set: Created March 8, 2016, 12:02 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | modules/base/manifests/init.pp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/adblockplus/manifests/init.pp
diff --git a/modules/adblockplus/manifests/init.pp b/modules/adblockplus/manifests/init.pp
index 0a5392827448a4b40b2501aca97071b0ff3ff8b6..300c20c3c59e4aeca228f5fe672085c0ae88798f 100644
--- a/modules/adblockplus/manifests/init.pp
+++ b/modules/adblockplus/manifests/init.pp
@@ -45,6 +45,22 @@ class adblockplus (
owner => 'root',
}
+ # A common time-zone shared by all hosts provisioned eases synchronization
+ # and debugging, i.e. log-file review and similar tasks, significantly
+ file {
+ '/etc/timezone':
+ content => 'UTC',
+ ensure => 'present',
+ group => 'root',
+ mode => 0644,
+ notify => Service['cron'],
+ owner => 'root';
+ '/etc/localtime':
+ ensure => 'link',
+ target => '/usr/share/zoneinfo/UTC',
+ notify => Service['cron'];
+ }
+
# Work around https://issues.adblockplus.org/ticket/3479
if $::environment == 'development' {
« no previous file with comments | « no previous file | modules/base/manifests/init.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld