I've created a mount, using puppet, enabling usrquota. I've then run
quotacheck manually, and edquota manually to set up the quota.
I suppose I could have puppet deliver the aquota.user file, but I don'
think that doesn't really enable me to rebuild the machine without
manual intervention. What would be really awesome would be a quota
type that drives quotacheck and edquota - is there much demand for
this?
Have any of you implemented quotas using puppet? What did you do?
S.
--
Stephen Nelson-Smith
Technical Director
Atalanta Systems Ltd
www.atalanta-systems.com
I've once began to implement such a module[1]. But I've got stuck
because there are no working quota-ruby-bindings available. I've found
Ruby/Quota[2], the code dates back to 2001 and does not compile against
modern kernels anymore, because much of the quota-internals have changed
since then. The module already implements editing fstab with augeas though.
/simon
[1] http://puppet.git.puzzle.ch/?p=module-quota.git
[2] http://sourceforge.net/projects/ruby-quota