This updates the lastchg field with days since epoch which is currently not happening on solaris.
Signed-off-by: Merritt Krakowitzer <[email protected]> --- lib/puppet/provider/user/user_role_add.rb | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lib/puppet/provider/user/user_role_add.rb b/lib/puppet/provider/user/user_role_add.rb index 2377f9e..d0cba07 100644 --- a/lib/puppet/provider/user/user_role_add.rb +++ b/lib/puppet/provider/user/user_role_add.rb @@ -174,6 +174,7 @@ Puppet::Type.type(:user).provide :user_role_add, :parent => :useradd, :source => line_arr = line.split(':') if line_arr[0] == @resource[:name] line_arr[1] = cryptopw + line_arr[2] = Time.now().to_i / 86400 line = line_arr.join(':') end shadow_tmp.print line -- 1.7.5.4 -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
