[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
configure directories to iterate through list
From: |
someD . E . L . E . T . E . M . Eword |
Subject: |
configure directories to iterate through list |
Date: |
7 Oct 2005 10:07:06 -0700 |
User-agent: |
G2/0.2 |
Hello.
I'm trying to pass a list to directories and have directories create
the dirs if they dont exist. In this scenario the last user in the
admin_users list get's a directory created and the permissions set
control:
actionsequence = ( directories )
admin_users = ( bill bob tony timmy )
Split = ( " " )
directories:
/tmp/test4/$(admin_users) mode=0755 owner=$(admin_users)
group=$(admin_users)
I can achieve the desired results through the use of shellcommands
but I would like to understand if i could have cfengine do the work for
me which I believe would be more graceful and more portable since I
have multiple OS's which I have to have seperate shellcommands
statements for.
TIA! Deet.
- configure directories to iterate through list,
someD . E . L . E . T . E . M . Eword <=