Merge pull request #152 from tomkukral/sal-api-port
change salt-api default port to 6969
diff --git a/aodh/server/cluster.yml b/aodh/server/cluster.yml
index 7d11cd4..b3fb4fb 100644
--- a/aodh/server/cluster.yml
+++ b/aodh/server/cluster.yml
@@ -1,7 +1,6 @@
classes:
- service.aodh.server.cluster
- system.haproxy.proxy.listen.openstack.aodh
-- service.keepalived.cluster.single
parameters:
aodh:
server:
diff --git a/elasticsearch/client/single.yml b/elasticsearch/client/single.yml
index 8407e2d..d9ce432 100644
--- a/elasticsearch/client/single.yml
+++ b/elasticsearch/client/single.yml
@@ -5,4 +5,4 @@
client:
enabled: true
server:
- host: ${_param:stacklight_monitor_address}
+ host: ${_param:stacklight_log_address}
diff --git a/haproxy/proxy/listen/openstack/novnc.yml b/haproxy/proxy/listen/openstack/novnc.yml
new file mode 100644
index 0000000..9646651
--- /dev/null
+++ b/haproxy/proxy/listen/openstack/novnc.yml
@@ -0,0 +1,25 @@
+parameters:
+ haproxy:
+ proxy:
+ listen:
+ nova_novnc:
+ type: general-service
+ service_name: http
+ check: false
+ binds:
+ - address: ${_param:cluster_vip_address}
+ port: 6080
+ servers:
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 6080
+ params: check
+ - name: ctl02
+ host: ${_param:cluster_node02_address}
+ port: 6080
+ params: check
+ - name: ctl03
+ host: ${_param:cluster_node03_address}
+ port: 6080
+ params: check
+
diff --git a/heat/server/cluster.yml b/heat/server/cluster.yml
index 43b1ba3..474deb9 100644
--- a/heat/server/cluster.yml
+++ b/heat/server/cluster.yml
@@ -11,7 +11,7 @@
password: ${_param:heat_domain_admin_password}
domain: heat
enabled: true
- region: RegionOne
+ region: ${_param:openstack_region}
version: ${_param:heat_version}
bind:
api_cfn:
@@ -52,4 +52,4 @@
members:
- host: ${_param:openstack_message_queue_node01_address}
- host: ${_param:openstack_message_queue_node02_address}
- - host: ${_param:openstack_message_queue_node03_address}
\ No newline at end of file
+ - host: ${_param:openstack_message_queue_node03_address}
diff --git a/keepalived/cluster/instance/openstack_telemetry_vip.yml b/keepalived/cluster/instance/openstack_telemetry_vip.yml
index 41f7dd0..91155e7 100644
--- a/keepalived/cluster/instance/openstack_telemetry_vip.yml
+++ b/keepalived/cluster/instance/openstack_telemetry_vip.yml
@@ -7,7 +7,6 @@
keepalived_openstack_telemetry_vip_address: ${_param:cluster_vip_address}
keepalived_openstack_telemetry_vip_password: password
keepalived_openstack_telemetry_vip_interface: eth1
- keepalived_openstack_telemetry_vip_priority: 101
keepalived:
cluster:
enabled: true
@@ -17,4 +16,4 @@
password: ${_param:keepalived_openstack_telemetry_vip_password}
interface: ${_param:keepalived_openstack_telemetry_vip_interface}
virtual_router_id: 230
- priority: ${_param:keepalived_openstack_telemetry_vip_priority}
+ priority: 101
diff --git a/keepalived/cluster/instance/stacklight_log_vip.yml b/keepalived/cluster/instance/stacklight_log_vip.yml
index 1a36121..caa6754 100644
--- a/keepalived/cluster/instance/stacklight_log_vip.yml
+++ b/keepalived/cluster/instance/stacklight_log_vip.yml
@@ -3,8 +3,6 @@
classes:
- service.keepalived.support
parameters:
- _param:
- keepalived_stacklight_log_vip_priority: 101
keepalived:
cluster:
enabled: true
@@ -14,4 +12,4 @@
password: ${_param:keepalived_stacklight_log_vip_password}
interface: ${_param:keepalived_stacklight_log_vip_interface}
virtual_router_id: 110
- priority: ${_param:keepalived_stacklight_log_vip_priority}
+ priority: 101
diff --git a/keepalived/cluster/instance/stacklight_monitor_vip.yml b/keepalived/cluster/instance/stacklight_monitor_vip.yml
index 05eb967..28a6b69 100644
--- a/keepalived/cluster/instance/stacklight_monitor_vip.yml
+++ b/keepalived/cluster/instance/stacklight_monitor_vip.yml
@@ -3,8 +3,6 @@
classes:
- service.keepalived.support
parameters:
- _param:
- keepalived_stacklight_monitor_vip_priority: 101
keepalived:
cluster:
enabled: true
@@ -14,4 +12,4 @@
password: ${_param:keepalived_stacklight_monitor_vip_password}
interface: ${_param:keepalived_stacklight_monitor_vip_interface}
virtual_router_id: 100
- priority: ${_param:keepalived_stacklight_monitor_vip_priority}
+ priority: 101
diff --git a/keepalived/cluster/instance/stacklight_telemetry_vip.yml b/keepalived/cluster/instance/stacklight_telemetry_vip.yml
index 160a02e..e7d31a5 100644
--- a/keepalived/cluster/instance/stacklight_telemetry_vip.yml
+++ b/keepalived/cluster/instance/stacklight_telemetry_vip.yml
@@ -3,8 +3,6 @@
classes:
- service.keepalived.support
parameters:
- _param:
- keepalived_stacklight_telemetry_vip_priority: 101
keepalived:
cluster:
enabled: true
@@ -14,4 +12,4 @@
password: ${_param:keepalived_stacklight_telemetry_vip_password}
interface: ${_param:keepalived_stacklight_telemetry_vip_interface}
virtual_router_id: 120
- priority: ${_param:keepalived_stacklight_telemetry_vip_priority}
+ priority: 101
diff --git a/keystone/client/service/neutron.yml b/keystone/client/service/neutron.yml
index e108f68..12fe9fe 100644
--- a/keystone/client/service/neutron.yml
+++ b/keystone/client/service/neutron.yml
@@ -1,6 +1,6 @@
parameters:
_param:
- neutron_public_protocol: https
+ cluster_public_protocol: https
keystone:
client:
server:
@@ -19,7 +19,7 @@
endpoints:
- region: ${_param:openstack_region}
public_address: ${_param:cluster_public_host}
- public_protocol: ${_param:neutron_public_protocol}
+ public_protocol: ${_param:cluster_public_protocol}
public_port: 9696
public_path: '/'
internal_address: ${_param:neutron_service_host}
diff --git a/kibana/client/single.yml b/kibana/client/single.yml
index d2322c6..8342806 100644
--- a/kibana/client/single.yml
+++ b/kibana/client/single.yml
@@ -5,5 +5,5 @@
client:
enabled: true
server:
- host: ${_param:stacklight_monitor_address}
+ host: ${_param:stacklight_log_address}
port: 9200
diff --git a/linux/system/repo_local/hotfix.yml b/linux/system/repo_local/hotfix.yml
new file mode 100644
index 0000000..cbce62f
--- /dev/null
+++ b/linux/system/repo_local/hotfix.yml
@@ -0,0 +1,14 @@
+parameters:
+ linux:
+ system:
+ repo:
+ local-hotfix:
+ refresh_db: ${_param:linux_repo_refresh_db}
+ source: "deb [arch=amd64] http://${_param:local_repo_url}/local-hotfix/ ${_param:linux_distrib_codename} main"
+ architectures: amd64
+ key_url: "http://${_param:public_key_host}/public.gpg"
+ pin:
+ - pin: 'release l=local-hotfix trusty'
+ priority: 1101
+ package: '*'
+
diff --git a/neutron/compute/nfv/dpdk.yml b/neutron/compute/nfv/dpdk.yml
new file mode 100644
index 0000000..90f9095
--- /dev/null
+++ b/neutron/compute/nfv/dpdk.yml
@@ -0,0 +1,17 @@
+parameters:
+ _param:
+ compute_dpdk_driver: uio
+ linux:
+ network:
+ bridge: openvswitch
+ dpdk:
+ enabled: true
+ driver: "${_param:compute_dpdk_driver}"
+ openvswitch:
+ pmd_cpu_mask: "${_param:compute_ovs_pmd_cpu_mask}"
+ dpdk_socket_mem: "${_param:compute_ovs_dpdk_socket_mem}"
+ dpdk_lcore_mask: "${_param:compute_ovs_dpdk_lcore_mask}"
+ memory_channels: "${_param:compute_ovs_memory_channels}"
+ neutron:
+ compute:
+ dpdk: True
diff --git a/neutron/compute/nfv/sriov.yml b/neutron/compute/nfv/sriov.yml
new file mode 100644
index 0000000..882e703
--- /dev/null
+++ b/neutron/compute/nfv/sriov.yml
@@ -0,0 +1,8 @@
+parameters:
+ neutron:
+ compute:
+ backend:
+ sriov:
+ sriov_nic01:
+ devname: ${_param:sriov_nic01_device_name}
+ physical_network: ${_param:sriov_nic01_physical_network}
diff --git a/neutron/control/openvswitch/dpdk.yml b/neutron/control/openvswitch/dpdk.yml
new file mode 100644
index 0000000..f7191c7
--- /dev/null
+++ b/neutron/control/openvswitch/dpdk.yml
@@ -0,0 +1,4 @@
+parameters:
+ neutron:
+ server:
+ dpdk: True
\ No newline at end of file
diff --git a/neutron/control/openvswitch/sriov.yml b/neutron/control/openvswitch/sriov.yml
new file mode 100644
index 0000000..38f5d29
--- /dev/null
+++ b/neutron/control/openvswitch/sriov.yml
@@ -0,0 +1,7 @@
+parameters:
+ neutron:
+ server:
+ backend:
+ mechanism:
+ sriov:
+ driver: sriovnicswitch
diff --git a/nova/control/cluster.yml b/nova/control/cluster.yml
index c9d8a07..545a432 100644
--- a/nova/control/cluster.yml
+++ b/nova/control/cluster.yml
@@ -3,6 +3,7 @@
- service.nova.control.cluster
- service.keepalived.cluster.single
- system.haproxy.proxy.listen.openstack.nova
+- system.haproxy.proxy.listen.openstack.novnc
parameters:
_param:
nova_vncproxy_url: http://${_param:cluster_vip_address}:6080
@@ -30,6 +31,7 @@
private_address: ${_param:cluster_local_address}
public_address: ${_param:cluster_vip_address}
public_name: ${_param:cluster_vip_address}
+ novncproxy_address: ${_param:cluster_local_address}
novncproxy_port: 6080
database:
engine: mysql
diff --git a/opencontrail/compute/cluster.yml b/opencontrail/compute/cluster.yml
index 1f6eaf3..375e600 100644
--- a/opencontrail/compute/cluster.yml
+++ b/opencontrail/compute/cluster.yml
@@ -1,3 +1,5 @@
+applications:
+- opencontrail
parameters:
_param:
opencontrail_compute_iface_mask: 24
diff --git a/opencontrail/control/analytics.yml b/opencontrail/control/analytics.yml
index 6fbc85a..9e3d78d 100644
--- a/opencontrail/control/analytics.yml
+++ b/opencontrail/control/analytics.yml
@@ -10,8 +10,10 @@
package:
librdkafka1:
version: 0.9.0-0contrail0
+ hold: true
python-kafka:
version: 1.0.1-0contrail1
+ hold: true
opencontrail:
common:
version: ${_param:opencontrail_version}
diff --git a/openssh/server/team/tcpcloud.yml b/openssh/server/team/tcpcloud.yml
index cc26ecd..8b7073d 100644
--- a/openssh/server/team/tcpcloud.yml
+++ b/openssh/server/team/tcpcloud.yml
@@ -117,6 +117,30 @@
sudo: true
full_name: Martin Polreich
home: /home/mpolreich
+ skreys:
+ enabled: true
+ name: skreys
+ sudo: true
+ full_name: Sergey Kreys
+ home: /home/skreys
+ jcach:
+ enabled: true
+ name: jcach
+ sudo: true
+ full_name: Jan Cach
+ home: /home/jcach
+ lmercl:
+ enabled: true
+ name: lmercl
+ sudo: true
+ full_name: Lubos Mercl
+ home: /home/lmercl
+ smatov:
+ enabled: true
+ name: smatov
+ sudo: true
+ full_name: Sergey Matov
+ home: /home/smatov
group:
libvirtd:
enabled: true
@@ -215,6 +239,26 @@
public_keys:
- ${public_keys:mpolreich}
user: ${linux:system:user:mpolreich}
+ skreys:
+ enabled: true
+ public_keys:
+ - ${public_keys:skreys}
+ user: ${linux:system:user:skreys}
+ jcach:
+ enabled: true
+ public_keys:
+ - ${public_keys:jcach}
+ user: ${linux:system:user:jcach}
+ lmercl:
+ enabled: true
+ public_keys:
+ - ${public_keys:lmercl}
+ user: ${linux:system:user:lmercl}
+ smatov:
+ enabled: true
+ public_keys:
+ - ${public_keys:smatov}
+ user: ${linux:system:user:smatov}
public_keys:
askotnicky:
key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDO6EnDYaGdF/Nn6lntxDNnKanCsheZRdh8kA/6ImyeRSjT2cgepm1Fsgv7wXBYoy0OxhB5wgCp5Az/Pj4oLkG3g+G05sUPUxxGCGRiwjcnyQ/FTz4TzHglAVqgbdgWoQYf9Hg6EKZovvPcH3STbEwcl+MhLqvxz0wm5+StE+wvp6I9dEfRV+2/e1uepauOTZ1+Ui1DMNXiMefTlbiIBHzUk7RiwJWgqzQXBndgunmbJWSed8zC0Ug97waDOFIX/oKZmAmsv0NLJ2e/kC3oUTuziGT74F9sh7Pqiw/9HZxvP45hJwEvytfUjfuiikIBbmYdF7Je93czaG/qjXGN8YvP== a.skotnicky@tcpisek.cz
@@ -252,3 +296,11 @@
key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDRM6WquKic6i6v/JbNR2XuMqCCYqlfyGU1K7XHK7tWFordRLz2/o4S76sZULBTXR0rLHtynvHM4QHlloE1/XJnd0BtI/3y8aY0OkXyu6PHvTC8Az8SyGj2XAcaiPlaT2f+oTJHoPc9rxLhMMD7OTwias6QeVKB3UrT0OaHfy2wWCF7t8cQeofi2ldEHKeCsC1jrT1vaVuoThQgZ00h0rNk4COPZEW34FXdmdJFUmZcUIDMa71HtYgnn4gmE8sUiJ/j6ardvPaycCDT9j1GW1Yu6UVLBW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420JkhbFWnL7EGPhxNtmYMGDTZwUTzP0KYmytyeH15OqNIiBGTrp1t2bTrVB8HRnUp0uDpfoWAUnsijVGNe1j1bNKtDO0Z9LAWx3eUyxIk4cdpX/EeWJg8jNrSMxtAZZ7Hhm/WInNSNqcHcZ1rEYCAjENxo1WVOuA/aqUqc5xaAipWNon4Rk0e0IUAaFOfLvN2lIuilUZ5XKHDe7a2crkGPnotheT9FgaEHOeFtpuhSaygeZHTMR197jeocgjWIkPqHjVAGSQqQf0TAdNuN73QPTigbbfHWWc1d8KlCM5BqJUXMHPG6BasE1sI/4ykYbxN/DAEvVJ4+rdIlqSdedd73ZAseVQjDtpzD8diScGrpdOhZnTm43q89F8dIFv7tt1TjIwvfcDQNSBjyyKcYpj+NTyW2Zk7qWDVz+lzH0ToYk/rOKkGlrsRy7OwOnmyKR8IcIOL7Bowj895ThCX8tBrdLu/m55ojBOcZiCpawCm7K55ri1Ar6i8cO+bHDh11kKRa/utRRSQTpsW0sbCsamzQ== lubos@lubos-ThinkPad-X1
+ smatov:
+ key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDgBHACRnY/VEEDFE63xDp4bx0zgWY4h1aB9/c2f962HtTNaQ6R/Cz6DLISaB5th8qzrzbvjn9WcpHdxyTm9BqkLLzB4qe7fnebPtn6zGczZ9Btrjk9R8Fuw6DZhSucSk572r/gVIY0O3Z1LajHkNr0ZTQS8AY3fgn8rXMD2vMOruOzyTOmfWKmEw7e+JYUqoFXHhE3Dd7hGQ99d6kH2N3zXfM2rzfjshGAq0kOi5dN4Hx6QIXZapt0t9TzpYTkK5SaVzuEVyVaKRLYSa/rdPjHkKqDFa99RcQ+OI93uvT9CFNWDFIC/TDJ2M+7PQbm836EICXXVWKjQ2NUnQJeOU5v smatov@ubuntu
diff --git a/reclass/storage/system/openstack_telemetry_cluster.yml b/reclass/storage/system/openstack_telemetry_cluster.yml
index 986ed61..d184fc9 100644
--- a/reclass/storage/system/openstack_telemetry_cluster.yml
+++ b/reclass/storage/system/openstack_telemetry_cluster.yml
@@ -15,7 +15,7 @@
salt_master_host: ${_param:reclass_config_master}
linux_system_codename: trusty
single_address: ${_param:openstack_telemetry_node01_address}
- keepalived_openstack_telemetry_vip_priority: 103
+ keepalived_vip_priority: 103
openstack_telemetry_node02:
name: ${_param:openstack_telemetry_node02_hostname}
domain: ${_param:cluster_domain}
@@ -25,7 +25,7 @@
salt_master_host: ${_param:reclass_config_master}
linux_system_codename: trusty
single_address: ${_param:openstack_telemetry_node02_address}
- keepalived_openstack_telemetry_vip_priority: 102
+ keepalived_vip_priority: 102
openstack_telemetry_node03:
name: ${_param:openstack_telemetry_node03_hostname}
domain: ${_param:cluster_domain}
@@ -35,4 +35,4 @@
salt_master_host: ${_param:reclass_config_master}
linux_system_codename: trusty
single_address: ${_param:openstack_telemetry_node03_address}
- keepalived_openstack_telemetry_vip_priority: 101
+ keepalived_vip_priority: 101
diff --git a/reclass/storage/system/stacklight_monitor_cluster.yml b/reclass/storage/system/stacklight_monitor_cluster.yml
index 80f57cf..f95cf81 100644
--- a/reclass/storage/system/stacklight_monitor_cluster.yml
+++ b/reclass/storage/system/stacklight_monitor_cluster.yml
@@ -17,7 +17,7 @@
salt_master_host: ${_param:reclass_config_master}
linux_system_codename: xenial
single_address: ${_param:stacklight_monitor_node01_address}
- keepalived_stacklight_monitor_vip_priority: 103
+ keepalived_vip_priority: 103
stacklight_monitor_node02:
name: ${_param:stacklight_monitor_node02_hostname}
domain: ${_param:cluster_domain}
@@ -29,7 +29,7 @@
salt_master_host: ${_param:reclass_config_master}
linux_system_codename: xenial
single_address: ${_param:stacklight_monitor_node02_address}
- keepalived_stacklight_monitor_vip_priority: 102
+ keepalived_vip_priority: 102
stacklight_monitor_node03:
name: ${_param:stacklight_monitor_node03_hostname}
domain: ${_param:cluster_domain}
@@ -41,4 +41,4 @@
salt_master_host: ${_param:reclass_config_master}
linux_system_codename: xenial
single_address: ${_param:stacklight_monitor_node03_address}
- keepalived_stacklight_monitor_vip_priority: 101
+ keepalived_vip_priority: 101
diff --git a/reclass/storage/system/stacklight_server_cluster.yml b/reclass/storage/system/stacklight_server_cluster.yml
index 818e732..26b9ebe 100644
--- a/reclass/storage/system/stacklight_server_cluster.yml
+++ b/reclass/storage/system/stacklight_server_cluster.yml
@@ -20,7 +20,7 @@
salt_master_host: ${_param:reclass_config_master}
linux_system_codename: xenial
single_address: ${_param:stacklight_monitor_node01_address}
- keepalived_stacklight_monitor_vip_priority: 103
+ keepalived_vip_priority: 103
rabbitmq_cluster_role: master
stacklight_server_node02:
name: ${_param:stacklight_monitor_node02_hostname}
@@ -33,7 +33,7 @@
salt_master_host: ${_param:reclass_config_master}
linux_system_codename: xenial
single_address: ${_param:stacklight_monitor_node02_address}
- keepalived_stacklight_monitor_vip_priority: 102
+ keepalived_vip_priority: 102
rabbitmq_cluster_role: slave
stacklight_server_node03:
name: ${_param:stacklight_monitor_node03_hostname}
@@ -46,5 +46,5 @@
salt_master_host: ${_param:reclass_config_master}
linux_system_codename: xenial
single_address: ${_param:stacklight_monitor_node03_address}
- keepalived_stacklight_monitor_vip_priority: 101
+ keepalived_vip_priority: 101
rabbitmq_cluster_role: slave
diff --git a/reclass/storage/system/stacklight_telemetry_cluster.yml b/reclass/storage/system/stacklight_telemetry_cluster.yml
index c75d93d..12b1dae 100644
--- a/reclass/storage/system/stacklight_telemetry_cluster.yml
+++ b/reclass/storage/system/stacklight_telemetry_cluster.yml
@@ -15,7 +15,7 @@
salt_master_host: ${_param:reclass_config_master}
linux_system_codename: xenial
single_address: ${_param:stacklight_telemetry_node01_address}
- keepalived_stacklight_telemetry_vip_priority: 103
+ keepalived_vip_priority: 103
stacklight_telemetry_node02:
name: ${_param:stacklight_telemetry_node02_hostname}
domain: ${_param:cluster_domain}
@@ -25,7 +25,7 @@
salt_master_host: ${_param:reclass_config_master}
linux_system_codename: xenial
single_address: ${_param:stacklight_telemetry_node02_address}
- keepalived_stacklight_telemetry_vip_priority: 102
+ keepalived_vip_priority: 102
stacklight_telemetry_node03:
name: ${_param:stacklight_telemetry_node03_hostname}
domain: ${_param:cluster_domain}
@@ -35,4 +35,4 @@
salt_master_host: ${_param:reclass_config_master}
linux_system_codename: xenial
single_address: ${_param:stacklight_telemetry_node03_address}
- keepalived_stacklight_telemetry_vip_priority: 101
+ keepalived_vip_priority: 101
diff --git a/salt/minion/ca/salt_master.yml b/salt/minion/ca/salt_master.yml
index 3e42db5..87cd6e6 100644
--- a/salt/minion/ca/salt_master.yml
+++ b/salt/minion/ca/salt_master.yml
@@ -21,6 +21,9 @@
cert_client:
type: v3_edge_cert_client
minions: '*'
+ cert_open:
+ type: v3_edge_cert_open
+ minions: '*'
days_valid:
authority: ${_param:salt_minion_ca_days_valid_authority}
certificate: ${_param:salt_minion_ca_days_valid_certificate}
diff --git a/salt/minion/cert/etcd_client.yml b/salt/minion/cert/etcd_client.yml
new file mode 100644
index 0000000..90b41da
--- /dev/null
+++ b/salt/minion/cert/etcd_client.yml
@@ -0,0 +1,18 @@
+parameters:
+ salt:
+ minion:
+ cert:
+ etcd_client:
+ host: ${_param:salt_minion_ca_host}
+ authority: ${_param:salt_minion_ca_authority}
+ common_name: ${linux:system:name}
+ signing_policy: cert_open
+ alternative_names: IP:${_param:cluster_local_address},DNS:${linux:system:name},DNS:${linux:network:fqdn}
+ extended_key_usage: clientAuth
+ key_usage: "digitalSignature,nonRepudiation,keyEncipherment"
+ key_file: /var/lib/etcd/etcd-client.key
+ cert_file: /var/lib/etcd/etcd-client.crt
+ all_file: /var/lib/etcd/etcd-client.pem
+ ca_file: /var/lib/etcd/ca.pem
+ user: etcd
+ group: etcd
diff --git a/salt/minion/cert/etcd_server.yml b/salt/minion/cert/etcd_server.yml
index bd2fc8b..ea26a40 100644
--- a/salt/minion/cert/etcd_server.yml
+++ b/salt/minion/cert/etcd_server.yml
@@ -5,10 +5,11 @@
etcd_server:
host: ${_param:salt_minion_ca_host}
authority: ${_param:salt_minion_ca_authority}
- common_name: ${_param:cluster_local_address}
- signing_policy: etcd_server
- alternative_names: IP:127.0.0.1,IP:${_param:cluster_local_address},IP:${_param:cluster_vip_address},DNS:${linux:system:name},DNS:${linux:network:fqdn}
- extendedKeyUsage: clientAuth, serverAuth
+ common_name: ${linux:system:name}
+ signing_policy: cert_open
+ alternative_names: IP:127.0.0.1,IP:${_param:cluster_vip_address},IP:${_param:cluster_local_address},DNS:${linux:system:name},DNS:${linux:network:fqdn}
+ extended_key_usage: serverAuth,clientAuth
+ key_usage: "digitalSignature,nonRepudiation,keyEncipherment"
key_file: /var/lib/etcd/etcd-server.key
cert_file: /var/lib/etcd/etcd-server.crt
all_file: /var/lib/etcd/etcd-server.pem