help-cfengine
[Top][All Lists]
Advanced

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

Problem copying to home directories using home directive


From: DRANSUTAVICIUS, CLAUDIO
Subject: Problem copying to home directories using home directive
Date: Thu, 20 May 2004 17:41:04 -0400


Hello

I am using the home directive to copy files to each users home
directory:
Here is the code:

control:

  master_Userkeys = ( /var/Keys/userkeys )

   # Local convention for setting  home pattern directive
   # e.g. /export/home/. Home dirs are u1,u2,u3,u?,ua,ub ...
   #

   mountpattern = ( /export/home/ )

   # Match a name is users directory

   homepattern = ( u1 )

copy:

   any::
   #
   # Make sure each user has an up to date user key server
   # setup.
   #

   $(master_Userkeys)/new.key   dest=home/new.key  mode=0600

Here I would expect to get new.key copied over to /export/home/u1/

cfengine tries to think but nothing happens.

Where did I go wrong.

TJ








reply via email to

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