Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Amazon error: trying to execute timedatectl #28

Open
eugenemiretsky opened this issue Mar 28, 2015 · 6 comments
Open

Amazon error: trying to execute timedatectl #28

eugenemiretsky opened this issue Mar 28, 2015 · 6 comments

Comments

@eugenemiretsky
Copy link

The Amazon is a rhel 7 distribution but it doesn't have timedatectl installed. It should be using the rhel recipe instead of rhel7

@L2G
Copy link
Owner

L2G commented Mar 28, 2015

Maybe I should throw out the 6-versus-7 assumptions and just check for the presence of timedatectl across all RedHat-based distros.

@jmcollin78
Copy link

For information, on Amazon Linux 09/2015 it's work with release 0.2.0 without modifictions

@zanzan42
Copy link

zanzan42 commented Nov 5, 2015

I just tried this today with Amazon Linux 2015.09 and it's not working (timedatectl doesn't exist).

@egmc
Copy link

egmc commented Dec 25, 2015

https://github.com/L2G/timezone-ii/blob/master/recipes/rhel.rb#L19
To begin with, this check is meaningless on amazon-linux(I checked with ami-383c1956).
node[:platform_version].split('.')[0].to_i -> 2015
so I agree with @L2G

@et304383
Copy link

Actually Amazon is closer to RHEL 6 than 7.

In general, this cookbook needs some Amazon lovin.

@et304383
Copy link

Is this cookbook still maintained @L2G ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants