help-cfengine
[Top][All Lists]
Advanced

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

Re: home directive on RHS and without NFS


From: Mark . Burgess
Subject: Re: home directive on RHS and without NFS
Date: Thu, 3 Jun 2004 07:29:28 +0200 (MEST)

The home directive does not rely on NFS. I have not been able to follow
what it is you are trying to do or why it is going wrong, but all yuo
need is to define a mountpattern and homepattern that match your system.
(If your system is unstructured then you have a problem.)

If you can tell me in a few lines what you want to do I can try to
help. I am pretty busy with end of semester stuff so  cannot follow
all the messages on the list.
M


On  3 Jun, Steve Wray wrote:
> 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.
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-cfengine



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  address@hidden
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

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