Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
slapos
Commits
0855e3d5
Commit
0855e3d5
authored
Sep 27, 2019
by
Łukasz Nowak
Committed by
Łukasz Nowak
Nov 19, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/proftpd: Switch to monitor-promise-base
parent
4919f7af
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
12 deletions
+12
-12
software/proftpd/buildout.hash.cfg
software/proftpd/buildout.hash.cfg
+2
-2
software/proftpd/instance-default.cfg.in
software/proftpd/instance-default.cfg.in
+7
-9
software/proftpd/instance.cfg.in
software/proftpd/instance.cfg.in
+1
-0
software/proftpd/software.cfg
software/proftpd/software.cfg
+2
-1
No files found.
software/proftpd/buildout.hash.cfg
View file @
0855e3d5
...
@@ -15,11 +15,11 @@
...
@@ -15,11 +15,11 @@
[instance-profile]
[instance-profile]
filename = instance.cfg.in
filename = instance.cfg.in
md5sum =
8ed5b4a7940db47ccb386c2f4e3e7273
md5sum =
efb4238229681447aa7fe73898dffad4
[instance-default]
[instance-default]
filename = instance-default.cfg.in
filename = instance-default.cfg.in
md5sum =
4cba10d2e9fc4b17c73c78bde0bcb86c
md5sum =
2a2c066d7d40dd8545f3008f434ee842
[proftpd-config-file]
[proftpd-config-file]
filename = proftpd-config-file.cfg.in
filename = proftpd-config-file.cfg.in
...
...
software/proftpd/instance-default.cfg.in
View file @
0855e3d5
...
@@ -3,6 +3,7 @@ parts =
...
@@ -3,6 +3,7 @@ parts =
promises
promises
publish-connection-parameter
publish-connection-parameter
extends = {{ template_monitor }}
[instance-parameter]
[instance-parameter]
# TODO: this is not needed
# TODO: this is not needed
...
@@ -29,7 +30,6 @@ var = ${:home}/var
...
@@ -29,7 +30,6 @@ var = ${:home}/var
log = ${:var}/log
log = ${:var}/log
srv = ${:home}/srv
srv = ${:home}/srv
service = ${:etc}/service
service = ${:etc}/service
promise = ${:etc}/promise
proftpd-dir = ${:srv}/proftpd/
proftpd-dir = ${:srv}/proftpd/
ssh-authorized-keys-dir = ${:etc}/authorized_keys/
ssh-authorized-keys-dir = ${:etc}/authorized_keys/
...
@@ -40,10 +40,6 @@ rendered = ${directory:etc}/${:_buildout_section_name_}.cfg
...
@@ -40,10 +40,6 @@ rendered = ${directory:etc}/${:_buildout_section_name_}.cfg
mode = 0644
mode = 0644
extensions = jinja2.ext.do
extensions = jinja2.ext.do
[check-port-listening-promise]
recipe = slapos.cookbook:check_port_listening
path = ${directory:promise}/${:_buildout_section_name_}
[proftpd-userinfo]
[proftpd-userinfo]
recipe = slapos.cookbook:userinfo
recipe = slapos.cookbook:userinfo
...
@@ -81,9 +77,11 @@ command-line =
...
@@ -81,9 +77,11 @@ command-line =
wrapper-path = ${directory:service}/proftpd
wrapper-path = ${directory:service}/proftpd
[proftpd-listen-promise]
[proftpd-listen-promise]
<= check-port-listening-promise
<= monitor-promise-base
hostname = ${proftpd:ipv6}
module = check_port_listening
port = ${proftpd:sftp-port}
name = ${:_buildout_section_name_}.py
config-hostname = ${proftpd:ipv6}
config-port = ${proftpd:sftp-port}
[ftpasswd]
[ftpasswd]
...
@@ -129,7 +127,7 @@ context =
...
@@ -129,7 +127,7 @@ context =
[promises]
[promises]
recipe =
recipe =
instance-promises =
instance-promises =
${proftpd-listen-promise:
path
}
${proftpd-listen-promise:
name
}
[publish-connection-parameter]
[publish-connection-parameter]
...
...
software/proftpd/instance.cfg.in
View file @
0855e3d5
...
@@ -25,6 +25,7 @@ context =
...
@@ -25,6 +25,7 @@ context =
raw ftpdctl_bin {{ ftpdctl_bin }}
raw ftpdctl_bin {{ ftpdctl_bin }}
raw ssh_keygen_bin {{ ssh_keygen_bin }}
raw ssh_keygen_bin {{ ssh_keygen_bin }}
raw perl_bin {{ perl_bin }}
raw perl_bin {{ perl_bin }}
raw template_monitor {{ template_monitor }}
[instance-default]
[instance-default]
<= instance-template
<= instance-template
...
...
software/proftpd/software.cfg
View file @
0855e3d5
[buildout]
[buildout]
extends =
extends =
../../stack/slapos.cfg
../../stack/slapos.cfg
../../stack/monitor/buildout.cfg
../../component/openssh/buildout.cfg
../../component/openssh/buildout.cfg
../../component/proftpd/buildout.cfg
../../component/proftpd/buildout.cfg
buildout.hash.cfg
buildout.hash.cfg
...
@@ -38,7 +39,7 @@ context =
...
@@ -38,7 +39,7 @@ context =
key ftpdctl_bin proftpd-output:ftpdctl
key ftpdctl_bin proftpd-output:ftpdctl
key ssh_keygen_bin openssh-output:keygen
key ssh_keygen_bin openssh-output:keygen
key perl_bin proftpd-output:perl
key perl_bin proftpd-output:perl
raw template_monitor ${monitor2-template:rendered}
[versions]
[versions]
collective.recipe.environment = 1.1.0
collective.recipe.environment = 1.1.0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment