Comments (2)
Oh man... This is more complicated.
Looking at https://wiki.debian.org/TimeZoneChanges it should be a file and not a link.
Same for e.g. FreeBSD or Gentoo.
And then we have...
root@northstar:~# ls -la /etc/localtime
lrwxrwxrwx 1 root root 33 Jan 3 06:25 /etc/localtime -> /usr/share/zoneinfo/Europe/Berlin
root@northstar:~# rm /etc/localtime
root@northstar:~# timedatectl set-timezone Europe/Berlin
root@northstar:~# ls -la /etc/localtime
lrwxrwxrwx 1 root root 35 Feb 15 14:58 /etc/localtime -> ../usr/share/zoneinfo/Europe/Berlin
root@northstar:~#
from puppet-timezone.
I'll stick with the symlink. It fits most systems.
Should be fixed in v5.1.1
from puppet-timezone.
Related Issues (20)
- As CentOS is dead, we migrating to Rocky, we need suport for it HOT 3
- puppet7 support HOT 1
- new forge release HOT 2
- stm-debconf v6.0.0 Released
- Setting timezone to US/Central on Ubuntu 22.04 isn't idempotent with debconf 6.0.0
- Setting timezone fails in CentOS Docker HOT 5
- Non idempotent on trusty64 HOT 7
- no timezone_update_check_cmd provied for SLES
- Include mode for /etc/localtime HOT 1
- Notify service rsyslog on CentOS because time is not adjusted for logs? HOT 10
- Update to puppetlabs-stdlib < 6.0.0
- No version of 'saz-timezone' can satisfy all dependencies HOT 2
- add support for stdlib >= 6.0.0
- Module is causing systemd timedate service to restart on every run. HOT 4
- Update tzdata HOT 1
- Puppet 6 support HOT 4
- Double // in the symlink path can cause issue with JVM applications HOT 2
- Request: allow latest stm/debconf
- Support 7 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-timezone.