diff options
Diffstat (limited to 'samba/cf.samba.m4')
-rw-r--r-- | samba/cf.samba.m4 | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/samba/cf.samba.m4 b/samba/cf.samba.m4 deleted file mode 100644 index 48dc460..0000000 --- a/samba/cf.samba.m4 +++ /dev/null @@ -1,42 +0,0 @@ -dnl -dnl /etc/cfengine/cf.samba.m4 -dnl Copyright 2002 Jonas Smedegaard <dr@jones.dk> -dnl -dnl $Id: cf.samba.m4,v 1.1 2002-04-02 16:03:04 jonas Exp $ -dnl -dnl m4 skeleton file for Samba server cfengine cleanup file -dnl -define(_tab,` ')dnl -define(_dir,_tab$1 - mode=$2 - owner=$3 - group=$4 -)dnl -define(_nonshare,_dir($3,$6,$4,$5))dnl -define(_share_home,_dir($3,$6,$4,$5))dnl -define(_share_pc_wrr,_dir($3,$6,$4,$5))dnl -define(_share_pc_wwr,_dir($3,$6,$4,$5))dnl -define(_share_pc_www,_dir($3,$6,$4,$5))dnl -control: - AddInstallable = ( samba samba_reload netatalk netatalk_reload ) - - samba_reload:: - { /etc/samba/smb-shares-$(fqdn).conf - LocateLineMatching "^; EDITED BY CFENGINE .*" - ReplaceAll '; EDITED BY CFENGINE .*$' With '; EDITED BY CFENGINE $(date)' - CatchAbort - BeginGroupIfNoMatch "^; EDITED BY CFENGINE .*" - Append '; EDITED BY CFENGINE $(date)' - EndGroup - } - -directories: -dnl include(smb_esyscmd(hostname -f).m4)dnl -include(smb_thor.venture.local.conf.m4)dnl - -processes: - "smbd" restart "/etc/init.d/samba restart" - -shellcommands: - samba_reload:: - "/etc/init.d/samba force-reload" |