We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
At: https://github.com/atomic-penguin/cookbook-gitlab/blob/ae4ee230be9b05228e64959d6788b31b468a48be/recipes/default.rb#L53
execute "#{username}: disable password expiration" do #command "chage -M -1 '#{username}'" command "chage --lastday 0 --expiredate -1 --inactive -1 --mindays 0 --maxdays 99999 --warndays 7 #{username}" only_if do require 'shadow' Shadow::Passwd.getspnam(username).sp_max != -1 } end end
The text was updated successfully, but these errors were encountered:
any comments on this approach? any better way to control user shadow attributes in chef (as found user resource do not support them)
Sorry, something went wrong.
I wrote an LWRP for this ages ago. I could publish it but why is this needed? I don't think you should set a password on that account to start with.
No branches or pull requests
At:
https://github.com/atomic-penguin/cookbook-gitlab/blob/ae4ee230be9b05228e64959d6788b31b468a48be/recipes/default.rb#L53
The text was updated successfully, but these errors were encountered: