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
Xavier Thompson
slapos
Commits
90ead2ac
Commit
90ead2ac
authored
Jan 10, 2024
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/metabase: rename configuration parameters to kebab case
parent
827f085f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
software/metabase/buildout.hash.cfg
software/metabase/buildout.hash.cfg
+1
-1
software/metabase/instance-metabase-input-schema.json
software/metabase/instance-metabase-input-schema.json
+2
-2
software/metabase/instance.cfg.in
software/metabase/instance.cfg.in
+8
-4
No files found.
software/metabase/buildout.hash.cfg
View file @
90ead2ac
[instance-profile]
filename = instance.cfg.in
md5sum =
0d50ed911a41b76b952b63d37853c3a4
md5sum =
9cdde662e017edaa33c1bba6ffccb992
software/metabase/instance-metabase-input-schema.json
View file @
90ead2ac
...
...
@@ -3,7 +3,7 @@
"type"
:
"object"
,
"additionalProperties"
:
false
,
"properties"
:
{
"mb
_password_
complexity"
:
{
"mb
-password-
complexity"
:
{
"title"
:
"Password complexity"
,
"description"
:
"Check Metabase documentation for more details."
,
"type"
:
"string"
,
...
...
@@ -14,7 +14,7 @@
"strong"
]
},
"mb
_password_
length"
:
{
"mb
-password-
length"
:
{
"title"
:
"Password length"
,
"description"
:
"Password length"
,
"type"
:
"integer"
,
...
...
software/metabase/instance.cfg.in
View file @
90ead2ac
...
...
@@ -31,8 +31,12 @@ slapparameter-dict = $${slap-configuration:configuration}
home = $${buildout:directory}
init =
default_parameters = options.get('slapparameter-dict')
options['mb_password_complexity'] = default_parameters.get('mb_password_complexity', 'normal')
options['mb_password_length'] = default_parameters.get('mb_password_length', '6')
options['mb-password-complexity'] = default_parameters.get(
'mb-password-complexity',
default_parameters.get('mb_password_complexity', 'normal'))
options['mb-password-length'] = default_parameters.get(
'mb-password-length',
default_parameters.get('mb_password_length', '6'))
[metabase-instance]
recipe = slapos.cookbook:wrapper
...
...
@@ -51,8 +55,8 @@ environment =
MB_DB_USER=$${postgresql:superuser}
MB_DB_PASS=$${postgresql:password}
MB_DB_HOST=$${postgresql:ipv4}
MB_PASSWORD_COMPLEXITY=$${slap-parameter:mb
_password_
complexity}
MB_PASSWORD_LENGTH=$${slap-parameter:mb
_password_
length}
MB_PASSWORD_COMPLEXITY=$${slap-parameter:mb
-password-
complexity}
MB_PASSWORD_LENGTH=$${slap-parameter:mb
-password-
length}
FONTCONFIG_FILE=$${fontconfig-conf:output}
JAVA_ARGS=-Dorg.quartz.scheduler.instanceId=$${slap-connection:computer-id}.$${slap-connection:partition-id} -Djava.io.tmpdir="$${directory:tmp}"
hash-existing-files =
...
...
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