summaryrefslogtreecommitdiff
path: root/cfengine/cf.services.ftp
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-01-26 14:30:08 +0100
committerJonas Smedegaard <dr@jones.dk>2017-01-26 14:30:08 +0100
commite042b7bced715a9d0d6c660df453b1b68f263316 (patch)
tree13f1bcd2f7cccf87718d92b5fc9a112d4c3ea455 /cfengine/cf.services.ftp
parentc778483fbd7829e2d41157ae6be2d7f1eef709f5 (diff)
Drop ancient unused files.
Diffstat (limited to 'cfengine/cf.services.ftp')
-rw-r--r--cfengine/cf.services.ftp35
1 files changed, 0 insertions, 35 deletions
diff --git a/cfengine/cf.services.ftp b/cfengine/cf.services.ftp
deleted file mode 100644
index 90b152f..0000000
--- a/cfengine/cf.services.ftp
+++ /dev/null
@@ -1,35 +0,0 @@
-control:
- AddInstallable = ( proftpd_reload )
-editfiles:
- { /etc/proftpd.conf
- DefineClasses "proftpd_reload"
- AbortAtLineMatching "^[[:blank:]]*VirtualHost[[:blank:]]*.*$"
- #
- # ListOptions "-la"
- #
- WarnIfNoLineMatching "^[[:blank:]]*ListOptions[[:blank:]].*$"
- BeginGroupIfNoLineMatching "^[[:blank:]]*ListOptions[[:blank:]].*$"
- Append 'ListOptions "-la" # Added by cfengine'
- EndGroup
- LocateLineMatching "^[[:blank:]]*ListOptions[[:blank:]].*$"
- BeginGroupIfNoLineMatching '^[[:blank:]]*ListOptions[[:blank:]]"-la"([[:blank:]]+(#.*)?)?$'
- ReplaceLineWith 'ListOptions "-la" # Edited by cfengine'
- EndGroup
- #
- # DefaultRoot ~
- #
- WarnIfNoLineMatching "^[[:blank:]]*DefaultRoot[[:blank:]].*$"
- BeginGroupIfNoLineMatching "^[[:blank:]]*DefaultRoot[[:blank:]].*$"
- Append 'DefaultRoot ~'
- EndGroup
- LocateLineMatching "^[[:blank:]]*DefaultRoot[[:blank:]].*$"
- BeginGroupIfNoLineMatching "^[[:blank:]]*DefaultRoot[[:blank:]]+~$"
- ReplaceLineWith 'DefaultRoot ~'
- EndGroup
- UnsetAbort "^[[:blank:]]*VirtualHost[[:blank:]]*.*$"
- }
-processes:
- "proftpd" restart "/etc/init.d/proftpd restart"
-shellcommands:
- proftpd_reload::
- "/etc/init.d/proftpd force-reload"