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
736c2574
Commit
736c2574
authored
Jul 02, 2013
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use a boolean rather than using an integer as a boolean.
Also, follow naming convention.
parent
8b95e4be
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+2
-2
stack/erp5/instance-mariadb.cfg.in
stack/erp5/instance-mariadb.cfg.in
+1
-1
stack/erp5/my.cnf.in
stack/erp5/my.cnf.in
+1
-1
No files found.
stack/erp5/buildout.cfg
View file @
736c2574
...
...
@@ -173,7 +173,7 @@ context =
[template-mariadb]
< = download-base
filename = instance-mariadb.cfg.in
md5sum =
60f5e662d7301e3d56c51f934ea4a303
md5sum =
dc417b681074a2e9ea9e0323642ee6cf
[template-zope]
< = download-base
...
...
@@ -198,7 +198,7 @@ md5sum = c4c42d06c63d33de703fc03415e34d84
[template-my-cnf]
< = download-base
filename = my.cnf.in
md5sum =
1339485f80e049fd22d0270ebf044aa6
md5sum =
e01d13863ed62fa4f53c79d32635a1c3
[template-mariadb-initial-setup]
< = download-base
...
...
stack/erp5/instance-mariadb.cfg.in
View file @
736c2574
...
...
@@ -63,7 +63,7 @@ slow-query-log = ${directory:log}/mariadb_slowquery.log
innodb-buffer-size = {{ slapparameter_dict.get('innodb-buffer-size', '') }}
innodb-log-file-size = {{ slapparameter_dict.get('innodb-log-file-size', '') }}
innodb-log-buffer-size = {{ slapparameter_dict.get('innodb-log-buffer-size', '') }}
relaxed
_writes = {{ dumps(slapparameter_dict.get('mariadb-relaxed-writes', 0
)) }}
relaxed
-writes = {{ dumps(slapparameter_dict.get('mariadb-relaxed-writes', False
)) }}
{% if incremental_backup_retention_days > -1 -%}
binlog-path = ${directory:mariadb-backup-incremental}/binlog
# XXX: binlog rotation happens along with other log's rotation
...
...
stack/erp5/my.cnf.in
View file @
736c2574
...
...
@@ -57,7 +57,7 @@ log_bin = {{ log_bin }}
{% endif -%}
{# Note: strictly check equality to one, as a last line of defense against users not reading the doc. -#}
{% if parameter_dict.get('relaxed
_writes') == 1
-%}
{% if parameter_dict.get('relaxed
-writes')
-%}
innodb_flush_log_at_trx_commit = 0
innodb_flush_method = nosync
innodb_doublewrite = 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