diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-01-26 14:30:08 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-01-26 14:30:08 +0100 |
commit | e042b7bced715a9d0d6c660df453b1b68f263316 (patch) | |
tree | 13f1bcd2f7cccf87718d92b5fc9a112d4c3ea455 /samba/smb-printers-lprng.conf | |
parent | c778483fbd7829e2d41157ae6be2d7f1eef709f5 (diff) |
Drop ancient unused files.
Diffstat (limited to 'samba/smb-printers-lprng.conf')
-rw-r--r-- | samba/smb-printers-lprng.conf | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/samba/smb-printers-lprng.conf b/samba/smb-printers-lprng.conf deleted file mode 100644 index 12fc54c..0000000 --- a/samba/smb-printers-lprng.conf +++ /dev/null @@ -1,53 +0,0 @@ -control: - AddInstallable = ( samba samba_reload ) - - # - # Variables for the print spooldir - # You can change the rights on the dir in the "directories:" - # section. - # - printdir = ( /var/spool/lpd/sharedprinter ) - -editfiles: - samba:: - { /etc/samba/smb-printers.conf - AutoCreate - # - # [netlogon] - # - BeginGroupIfNoLineMatching "^\[printers\]" - Append '[printers]' - Append ' comment = %S printer' - Append ' path = /tmp' - Append ' printing = lprng' - Append ' print command = /usr/bin/lpr -h -P%S -r %s' - Append ' lprm command = /usr/bin/lprm -P%S %j' - Append ' public = yes' - Append ' printable = yes' - EndGroup - DefineClasses "samba_reload" - } - - samba_reload:: - { /etc/samba/smb-printers.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: - samba:: - $(printdir) - mode=770 - owner=root - group=users - -processes: - "smbd" restart "/etc/init.d/samba restart" - -shellcommands: - samba_reload:: - "/etc/init.d/samba force-reload" |