summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuri Jensen <juri@xenux.dk>2001-09-14 08:41:06 +0000
committerJuri Jensen <juri@xenux.dk>2001-09-14 08:41:06 +0000
commit41e910ff02f9fc294435fe16918661b792c0c77f (patch)
treeec9cf45dfa5c8917dbfee9ba9124309f73f66431
parent4caddfd2421685e3dc0c4a07ee5fbc8102f22a8b (diff)
* Fixed bad typo - resolve not resolva! (It's english dear Juri...)
-rw-r--r--cfengine/cf.generic2
-rw-r--r--cfengine/cf.services.file8
2 files changed, 6 insertions, 4 deletions
diff --git a/cfengine/cf.generic b/cfengine/cf.generic
index 1de3e31..4800500 100644
--- a/cfengine/cf.generic
+++ b/cfengine/cf.generic
@@ -52,7 +52,7 @@ control:
actionsequence = (
checktimezone
- resolva
+ resolve
editfiles
directories
copy
diff --git a/cfengine/cf.services.file b/cfengine/cf.services.file
index 883a129..c1e336f 100644
--- a/cfengine/cf.services.file
+++ b/cfengine/cf.services.file
@@ -56,9 +56,11 @@ editfiles:
#
# Append the include lines for the files decribed above
#
- AppendIfNoSuchLine "include = smb-shares-COMMON.conf"
- AppendIfNoSuchLine "include = smb-shares-$(site).conf"
- AppendIfNoSuchLine "include = smb-printers.conf"
+ AppendIfNoSuchLine "include = /etc/samba/smb-shares-COMMON.conf"
+ AppendIfNoSuchLine "include = /etc/samba/smb-printers.conf"
+ BeginGroupIfFileExists "/etc/local-COMMON/samba/smb-shares-$(site).conf"
+ AppendIfNoSuchLine "include = /etc/samba/smb-shares-$(site).conf"
+ EndGroup
ResetSearch "1"
#