Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos-caddy
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
Guillaume Hervier
slapos-caddy
Commits
d2940e88
Commit
d2940e88
authored
Dec 09, 2014
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NEO: missing dumps and duplicated default values
parent
a2ba55e0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
software/neoppod/cluster.cfg.in
software/neoppod/cluster.cfg.in
+3
-3
software/neoppod/instance-neo-master.cfg.in
software/neoppod/instance-neo-master.cfg.in
+2
-2
software/neoppod/software.cfg
software/neoppod/software.cfg
+2
-2
No files found.
software/neoppod/cluster.cfg.in
View file @
d2940e88
...
...
@@ -11,7 +11,7 @@ key-file = ${slap-connection:key-file}
cert-file = ${slap-connection:cert-file}
computer-id = ${slap-connection:computer-id}
partition-id = ${slap-connection:partition-id}
config-cluster = {{
slapparameter_dict['cluster']
}}
config-cluster = {{
dumps(slapparameter_dict['cluster'])
}}
[node-base]
< = request-common
...
...
@@ -19,8 +19,8 @@ config-masters = ${all-masters:addresses}
[mysql-storage-base]
< = request-common
config-partitions = {{
slapparameter_dict.get('partitions', 12
) }}
config-replicas = {{
slapparameter_dict.get('replicas', 0
) }}
config-partitions = {{
dumps(slapparameter_dict.get('partitions', 12)
) }}
config-replicas = {{
dumps(slapparameter_dict.get('replicas', 0)
) }}
software-type = {{ mysql_storage_software_type }}
[mysql-storage-request-base]
...
...
software/neoppod/instance-neo-master.cfg.in
View file @
d2940e88
...
...
@@ -12,8 +12,8 @@ logfile = ${directory:log}/neomaster.log
ip = ${publish:ip}
port = ${publish:port}
cluster = {{ dumps(slapparameter_dict['cluster']) }}
partitions = {{ dumps(slapparameter_dict
.get('partitions', 12)
) }}
replicas = {{ dumps(slapparameter_dict
.get('replicas', 0)
) }}
partitions = {{ dumps(slapparameter_dict
['partitions']
) }}
replicas = {{ dumps(slapparameter_dict
['replicas']
) }}
# "masters" parameter is not provided when just requesting a partition.
# No actuall installation takes place at that time
# (slapos.cookbook:neoppod.master raises), but cfg expansion must succeed. So
...
...
software/neoppod/software.cfg
View file @
d2940e88
...
...
@@ -37,7 +37,7 @@ scripts =
[cluster]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/${:_buildout_section_name_}.cfg.in
md5sum =
3939e229108f96ac0d68224fc1630880
md5sum =
bdb9d8d2b23916ef8b056698f3a56835
[instance-neo-admin]
< = cluster
...
...
@@ -45,7 +45,7 @@ md5sum = 43eb053841e9dabdbed2a3501a0a3f13
[instance-neo-master]
< = cluster
md5sum =
25724ba46203c57b680976dbe4ba67b7
md5sum =
b1a8f2a3eda57a43dda67da5aec94e7a
[instance-neo-storage-mysql]
< = cluster
...
...
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