Browse Source

Fix reload notification file

We want to trigger the reload on the localtime file (/etc/localtime) not
the actual zone file because that is the symlink that gets updated when
the timezone is changed.

NOTE: This is <= Rocky only because we switched to ansible managment in
Stein.

Change-Id: I2bdafeb59c3feb86a30a46eeb803bc9795c9c820
Closes-Bug: #1819548
(cherry picked from commit ac4bd32a70)
changes/01/647901/1
Alex Schultz 2 months ago
parent
commit
849d5ce550
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      puppet/services/time/timezone.yaml

+ 1
- 1
puppet/services/time/timezone.yaml View File

@@ -56,4 +56,4 @@ outputs:
56 56
             refreshonly => true,
57 57
             tag         => 'timezone-reload-services',
58 58
         }
59
-        File<| title == $::timezone::timezone_file |> ~> Exec<| tag == 'timezone-reload-services' |>
59
+        File<| title == $::timezone::localtime_file |> ~> Exec<| tag == 'timezone-reload-services' |>

Loading…
Cancel
Save