Skip to content

Commit 69be26f

Browse files
committed
fix(tumbleweed): ensure openssl package is also installed
Avoid this failure: ``` ID: openvpn_create_dh_512 Function: cmd.run Name: "openssl" dhparam -out "/etc/openvpn/dh512.pem" 512 Result: False Comment: Command ""openssl" dhparam -out "/etc/openvpn/dh512.pem" 512" run ```
1 parent 28cf2b9 commit 69be26f

26 files changed

+43
-0
lines changed

openvpn/parameters/map_jinja.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ values:
88
- "Y:G@osarch"
99
- "Y:G@os_family"
1010
- "Y:G@os"
11+
- "Y:G@oscodename"
1112
- "Y:G@osfinger"
1213

1314
# For compatibility, don't merge `salt["config.get"]("openvpn")`
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# -*- coding: utf-8 -*-
2+
# vim: ft=yaml
3+
#
4+
# Setup variables specific to
5+
# salt['config.get']('oscodename') == openSUSE Tumbleweed.
6+
# You just need to add the key:values for this `oscodename` that differ
7+
# from `defaults.yaml` + `<osarch>.yaml` + `<os_family>.yaml` + `<os>.yaml`.
8+
#
9+
# If you do not need to provide defaults via the `oscodename` config,
10+
# you can remove this file or provide at least an empty dict, e.g.
11+
# values: {}
12+
---
13+
values:
14+
pkgs:
15+
- openvpn
16+
- openssl
17+
...

test/integration/default/files/_mapdata/amazonlinux-1.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ values:
2020
- Y:G@osarch
2121
- Y:G@os_family
2222
- Y:G@os
23+
- Y:G@oscodename
2324
- Y:G@osfinger
2425
- C@openvpn:lookup
2526
- Y:G@id

test/integration/default/files/_mapdata/amazonlinux-2.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ values:
2020
- Y:G@osarch
2121
- Y:G@os_family
2222
- Y:G@os
23+
- Y:G@oscodename
2324
- Y:G@osfinger
2425
- C@openvpn:lookup
2526
- Y:G@id

test/integration/default/files/_mapdata/arch-base-latest.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ values:
2020
- Y:G@osarch
2121
- Y:G@os_family
2222
- Y:G@os
23+
- Y:G@oscodename
2324
- Y:G@osfinger
2425
- C@openvpn:lookup
2526
- Y:G@id

test/integration/default/files/_mapdata/centos-6.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ values:
2020
- Y:G@osarch
2121
- Y:G@os_family
2222
- Y:G@os
23+
- Y:G@oscodename
2324
- Y:G@osfinger
2425
- C@openvpn:lookup
2526
- Y:G@id

test/integration/default/files/_mapdata/centos-7.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ values:
2020
- Y:G@osarch
2121
- Y:G@os_family
2222
- Y:G@os
23+
- Y:G@oscodename
2324
- Y:G@osfinger
2425
- C@openvpn:lookup
2526
- Y:G@id

test/integration/default/files/_mapdata/centos-8.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ values:
2020
- Y:G@osarch
2121
- Y:G@os_family
2222
- Y:G@os
23+
- Y:G@oscodename
2324
- Y:G@osfinger
2425
- C@openvpn:lookup
2526
- Y:G@id

test/integration/default/files/_mapdata/debian-10.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ values:
2626
- Y:G@osarch
2727
- Y:G@os_family
2828
- Y:G@os
29+
- Y:G@oscodename
2930
- Y:G@osfinger
3031
- C@openvpn:lookup
3132
- Y:G@id

test/integration/default/files/_mapdata/debian-9.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ values:
2626
- Y:G@osarch
2727
- Y:G@os_family
2828
- Y:G@os
29+
- Y:G@oscodename
2930
- Y:G@osfinger
3031
- C@openvpn:lookup
3132
- Y:G@id

0 commit comments

Comments
 (0)