Page MenuHomeDevCentral

Set timezone
ClosedPublic

Authored by dereckson on Oct 23 2017, 23:59.
Tags
None
Referenced Files
F12515521: D1101.diff
Sun, Nov 9, 06:12
Unknown Object (File)
Thu, Oct 30, 12:54
Unknown Object (File)
Sat, Oct 11, 11:08
Unknown Object (File)
Sat, Oct 11, 05:45
Unknown Object (File)
Oct 5 2025, 09:46
Unknown Object (File)
Oct 4 2025, 05:49
Unknown Object (File)
Oct 3 2025, 16:08
Unknown Object (File)
Oct 2 2025, 11:13
Subscribers
None

Details

Summary

States for Debian, Fedora/RedHat/CentOS and FreeBSD

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

$ salt dwellers state.apply roles/core/timezone
dwellers:
----------
          ID: /etc/localtime
    Function: file.symlink
      Result: True
     Comment: Symlink /etc/localtime is present and owned by root:root
     Started: 01:30:51.989501
    Duration: 182.073 ms
     Changes:   

Summary for dwellers
------------
Succeeded: 1
Failed:    0
------------
Total states run:     1
Total run time: 182.073 ms

$ salt-call --local state.apply roles/core/timezone
local:
----------
          ID: /var/db/zoneinfo
    Function: file.managed
      Result: True
     Comment: File /var/db/zoneinfo is in the correct state
     Started: 01:32:42.870433
    Duration: 28.743 ms
     Changes:   
----------
          ID: update_timezone
    Function: cmd.run
        Name: tzsetup Etc/UTC
      Result: True
     Comment: State was not run because none of the onchanges reqs changed
     Changes:   

Summary for local
------------
Succeeded: 2
Failed:    0
------------
Total states run:     2
Total run time:  28.743 ms
This revision is now accepted and ready to land.Oct 24 2017, 01:33
This revision was automatically updated to reflect the committed changes.