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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
slapos
Commits
6fd7b131
Commit
6fd7b131
authored
Jun 22, 2019
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Plain Diff
Update Release Candidate
parents
33f4d533
0710f1ea
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
10 deletions
+9
-10
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+1
-2
stack/monitor/buildout.hash.cfg
stack/monitor/buildout.hash.cfg
+1
-1
stack/monitor/instance-monitor.cfg.jinja2.in
stack/monitor/instance-monitor.cfg.jinja2.in
+7
-7
No files found.
stack/erp5/buildout.cfg
View file @
6fd7b131
...
@@ -569,7 +569,6 @@ eggs = ${neoppod:eggs}
...
@@ -569,7 +569,6 @@ eggs = ${neoppod:eggs}
# installation of python, which we don't want on an instance
# installation of python, which we don't want on an instance
interpreter = ${buildout:python}
interpreter = ${buildout:python}
scripts =
scripts =
${caucase-eggs:scripts}
apachedex
apachedex
repozo
repozo
runzope
runzope
...
@@ -675,7 +674,7 @@ Products.LongRequestLogger = 2.1.0
...
@@ -675,7 +674,7 @@ Products.LongRequestLogger = 2.1.0
# Products.MimetypesRegistry 2.1 requires AccessControl>=3.0.0Acquisition.
# Products.MimetypesRegistry 2.1 requires AccessControl>=3.0.0Acquisition.
Products.MimetypesRegistry = 2.0.10
Products.MimetypesRegistry = 2.0.10
Products.PluginRegistry = 1.4
Products.PluginRegistry = 1.4
Products.TIDStorage = 5.
4.9
Products.TIDStorage = 5.
5.0
pyPdf = 1.13
pyPdf = 1.13
PyPDF2 = 1.26.0
PyPDF2 = 1.26.0
PyStemmer = 1.3.0
PyStemmer = 1.3.0
...
...
stack/monitor/buildout.hash.cfg
View file @
6fd7b131
...
@@ -14,4 +14,4 @@
...
@@ -14,4 +14,4 @@
# not need these here).
# not need these here).
[monitor2-template]
[monitor2-template]
filename = instance-monitor.cfg.jinja2.in
filename = instance-monitor.cfg.jinja2.in
md5sum =
e713bc55b68e3102f20902abc9f34f4b
md5sum =
c0856969ea372d49ab60ba07b3bf2a51
stack/monitor/instance-monitor.cfg.jinja2.in
View file @
6fd7b131
...
@@ -97,7 +97,7 @@ parameter-file-path = ${monitor-instance-parameter:configuration-file-path}
...
@@ -97,7 +97,7 @@ parameter-file-path = ${monitor-instance-parameter:configuration-file-path}
parameter-list =
parameter-list =
raw monitor-user ${monitor-instance-parameter:username}
raw monitor-user ${monitor-instance-parameter:username}
htpasswd monitor-password ${
monitor-htpasswd:storage-path
} ${monitor-instance-parameter:username} ${httpd-monitor-htpasswd:htpasswd-path}
htpasswd monitor-password ${
httpd-monitor-htpasswd:password-file
} ${monitor-instance-parameter:username} ${httpd-monitor-htpasswd:htpasswd-path}
file min-free-disk-MB ${promise-check-free-disk-space:config-threshold-file}
file min-free-disk-MB ${promise-check-free-disk-space:config-threshold-file}
${monitor-instance-parameter:instance-configuration}
${monitor-instance-parameter:instance-configuration}
# htpasswd entry: htpasswd key password-file username htpasswd-file
# htpasswd entry: htpasswd key password-file username htpasswd-file
...
@@ -142,18 +142,18 @@ wrapper-path = ${directory:scripts}/${:name}
...
@@ -142,18 +142,18 @@ wrapper-path = ${directory:scripts}/${:name}
[monitor-htpasswd]
[monitor-htpasswd]
recipe = slapos.cookbook:generate.password
recipe = slapos.cookbook:generate.password
storage-path = ${directory:etc}/.monitor_pwd
storage-path = ${directory:etc}/.monitor_pwd
bytes = 8
[httpd-monitor-htpasswd]
[httpd-monitor-htpasswd]
recipe = plone.recipe.command
recipe = plone.recipe.command
stop-on-error = true
stop-on-error = true
password-file = ${directory:etc}/.monitor_pwd
htpasswd-path = ${monitor-directory:etc}/monitor-htpasswd
htpasswd-path = ${monitor-directory:etc}/monitor-htpasswd
# Keep multiple lines as password can end with newline char.
command =
command =
if [ ! -s "${:htpasswd-path}" ]; then
echo "${monitor-instance-parameter:password}" >${:password-file}
{{ apache_location }}/bin/htpasswd -cb ${:htpasswd-path} ${monitor-instance-parameter:username} ${monitor-instance-parameter:password}
[ -s "${:htpasswd-path}" ] ||
fi
{{ apache_location }}/bin/htpasswd -ci ${:htpasswd-path} "${monitor-instance-parameter:username}" <${:password-file}
update-command = ${:command}
update-command =
[ -s "${:password-file}" ] || ${:command}
[monitor-symlink]
[monitor-symlink]
recipe = cns.recipe.symlink
recipe = cns.recipe.symlink
...
...
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