On 28.10.2009 09:52, Stephen Nelson-Smith wrote:
> 
> I wish to impose a quota on a samba share.
> 
> 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.

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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to