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

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

Issue 10997090: Notify cron when we change the timezone (Closed)
Patch Set: Created June 28, 2013, 10:46 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/base/manifests/init.pp
===================================================================
--- a/modules/base/manifests/init.pp
+++ b/modules/base/manifests/init.pp
@@ -16,20 +16,22 @@ class base {
package {['mercurial', 'vim', 'emacs']: ensure => present}
file {'/etc/timezone':
ensure => file,
owner => root,
group => root,
mode => 0644,
- content => 'UTC'
+ content => 'UTC',
+ notify => Service['cron']
}
file {'/etc/localtime':
ensure => link,
- target => '/usr/share/zoneinfo/UTC'
+ target => '/usr/share/zoneinfo/UTC',
+ notify => Service['cron']
}
class {'logrotate':
stage => 'post'
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld