diff options
author | Juri Jensen <juri@xenux.dk> | 2002-06-12 12:35:14 +0000 |
---|---|---|
committer | Juri Jensen <juri@xenux.dk> | 2002-06-12 12:35:14 +0000 |
commit | 899d2b4a4bbd24e3c301538718899232dbfa38b4 (patch) | |
tree | 8ea28991d41c0cdc9f6124d47a0eeeff4c9b4d6b | |
parent | be30569cd931511fe4b7b30c1de30ad2720c27f9 (diff) |
cfengine: did something... ;-)
-rw-r--r-- | cfengine/cf.services.file | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cfengine/cf.services.file b/cfengine/cf.services.file index ac1927b..d3b6e21 100644 --- a/cfengine/cf.services.file +++ b/cfengine/cf.services.file @@ -177,7 +177,7 @@ editfiles: # # Append the include lines for the shares definition file # - AppendIfNoSuchLine "include = /etc/samba/smb-shares-$(site).conf" + AppendIfNoSuchLine "include = /etc/samba/smb-shares.conf" DefineClasses "samba_reload" } @@ -203,8 +203,9 @@ editfiles: # Check if the shares definitions have changed # { /etc/samba/smb-shares.conf + SetScript "m4 -DFQDN=$(fqhost) /etc/local-COMMON/samba/smb-shares.conf.m4 > /etc/samba/smb-shares.conf" BeginGroupIfFileIsNewer "/etc/local-COMMON/file-$(fqhost).m4" - AutoCreate + RunScript EndGroup DefineClasses "samba_rebuild_shares:samba_reload" } |