Mentions légales du service

Skip to content
Snippets Groups Projects
Commit a702e9aa authored by Alexandre MERLIN's avatar Alexandre MERLIN
Browse files

Merge branch 'kadeploy36' into 'master'

kadeploy3.6

See merge request !262
parents 11b78bb3 5309e74a
No related branches found
No related tags found
1 merge request!262kadeploy3.6
Pipeline #305496 passed
......@@ -46,9 +46,7 @@ def generate_puppet_kadeployg5k(options)
puts "For site(s): #{options[:sites].join(', ')}"
# There is two kadeploy servers : kadeploy and kadeploy-dev
# FIXME disable -dev generation for kadeploy 3.5 to 3.6 transition
#['', '-dev'].each {|suffix|
[''].each {|suffix|
['', '-dev'].each {|suffix|
puts "Info: Working with kadeployg5k#{suffix}.yaml"
global_hash['sites'].each { |site_uid, site|
......
......@@ -4,18 +4,18 @@
#
---
partitioning:
block_device: /dev/sda
deploy_label: DEPLOY
block_device: disk0
script: /etc/kadeploy3<%= suffix %>/<%= ! data['partitioning.script'].nil? ? data['partitioning.script'] : "partitioning.sh" %>
<%- if !data['formating.script'].nil? && !data['formating.script'].empty? -%>
formating_script: /etc/kadeploy3<%= suffix %>/<%= data['formating.script'] %>
<%- end -%>
partitions:
tmp: 5
prod: 2
deploy: 3
swap: 1
disk_path:
<%- cluster['nodes'].values.first['storage_devices'].reject{|disk| disk['reservation']}.each do |disk| -%>
<%= disk['id'] %>: <%= disk['by_path'] %>
<%- end -%>
trusted_deployment:
partition: /dev/sda<%= suffix.empty? ? "2":"3"%>
partition: disk0/PROD
user: oar
<% if data['trusted_env'] %>
envs:
......@@ -95,10 +95,10 @@ automata:
macrosteps:
SetDeploymentEnv:
- timeout: <%= data['deployment.timeout'] %>
type: Untrusted
type: Trusted
retries: <%= data['deployment.retries'].nil? ? 1 : data['deployment.retries'] %>
- timeout: <%= data['deployment.timeout'] %>
type: Kexec
type: Untrusted
retries: <%= data['deployment.retries'].nil? ? 1 : data['deployment.retries'] %>
BroadcastEnv:
- timeout: <%= data['broadcast.timeout'] %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment