[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: home directive on RHS and without NFS

From: Steve Wray
Subject: Re: home directive on RHS and without NFS
Date: Thu, 3 Jun 2004 09:13:37 +1200
User-agent: KMail/1.6.1

So, in other words, the home directive is totally useless without NFS? 
If so.... well it could be made clearer in the documentation. 

I've been bashing away at cfengine for some months now on the premise 
that we could use it to, among other things, manage users home 
directories; *local* home directories... and now its not looking good.

On Wednesday 02 June 2004 07:19, Chip Seraphine wrote:
> On Monday 31 May 2004 16:45, Steve Wray wrote:
> > For one thing, we won't be using NFS and I am wondering, having
> > read the documentation, if the home directive can be expected to
> > work at all without defined homeservers and mountpoints? Or can I
> > define 'fake' variables for these and 'get away with it'?
> I hacked around it by writing a little module (in perl) that called
> getpwent a bunch of times and returned a variable along the lines of
> "userlist=user1:user2:user3:...".  Sections that support iterators
> can then use the $(userlist) variable.
> I'm a little untrusting of the homepattern/mountpattern stuff, since
> our automount  environment has non-home directories under
> /home/<hostname>/, users whose homedirs don't match their username,
> and other such idiosyncracies.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]