HPUX_PUPPET
2014-Feb-20 02:29 UTC
[Puppet Users] Setting validproperties fields in provider modules
I am still working to the HPUX provider to handle password expirations and I have gotten the max and min password age values extracted from the OS, but for the life of me I cannot seem to get them to assign to the :password_max_age and :password_min_age fields in the Ruby code. I know from looking at other modules that I can get the values from doing a loop on @resource.class.validproperties and set the value by doing value = @resource.should(<loop var>). I am still learning Ruby and I thought I had it down enough to handle assigning to this variable yet I am still missing something here. Can anyone provide me some guidance as to why I just cannot get this to assign and propagate back up the super class? Thanks! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/7de99e75-86b8-4f3b-825f-420450fda4e7%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.