Skip to content

Commit

Permalink
fix(tumbleweed): ensure openssl package is also installed
Browse files Browse the repository at this point in the history
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
```
  • Loading branch information
myii committed Jun 15, 2021
1 parent 28cf2b9 commit 69be26f
Show file tree
Hide file tree
Showing 26 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions openvpn/parameters/map_jinja.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ values:
- "Y:G@osarch"
- "Y:G@os_family"
- "Y:G@os"
- "Y:G@oscodename"
- "Y:G@osfinger"

# For compatibility, don't merge `salt["config.get"]("openvpn")`
Expand Down
17 changes: 17 additions & 0 deletions openvpn/parameters/oscodename/openSUSE Tumbleweed.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# -*- coding: utf-8 -*-
# vim: ft=yaml
#
# Setup variables specific to
# salt['config.get']('oscodename') == openSUSE Tumbleweed.
# You just need to add the key:values for this `oscodename` that differ
# from `defaults.yaml` + `<osarch>.yaml` + `<os_family>.yaml` + `<os>.yaml`.
#
# If you do not need to provide defaults via the `oscodename` config,
# you can remove this file or provide at least an empty dict, e.g.
# values: {}
---
values:
pkgs:
- openvpn
- openssl
...
1 change: 1 addition & 0 deletions test/integration/default/files/_mapdata/amazonlinux-1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ values:
- Y:G@osarch
- Y:G@os_family
- Y:G@os
- Y:G@oscodename
- Y:G@osfinger
- C@openvpn:lookup
- Y:G@id
Expand Down
1 change: 1 addition & 0 deletions test/integration/default/files/_mapdata/amazonlinux-2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ values:
- Y:G@osarch
- Y:G@os_family
- Y:G@os
- Y:G@oscodename
- Y:G@osfinger
- C@openvpn:lookup
- Y:G@id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ values:
- Y:G@osarch
- Y:G@os_family
- Y:G@os
- Y:G@oscodename
- Y:G@osfinger
- C@openvpn:lookup
- Y:G@id
Expand Down
1 change: 1 addition & 0 deletions test/integration/default/files/_mapdata/centos-6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ values:
- Y:G@osarch
- Y:G@os_family
- Y:G@os
- Y:G@oscodename
- Y:G@osfinger
- C@openvpn:lookup
- Y:G@id
Expand Down
1 change: 1 addition & 0 deletions test/integration/default/files/_mapdata/centos-7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ values:
- Y:G@osarch
- Y:G@os_family
- Y:G@os
- Y:G@oscodename
- Y:G@osfinger
- C@openvpn:lookup
- Y:G@id
Expand Down
1 change: 1 addition & 0 deletions test/integration/default/files/_mapdata/centos-8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ values:
- Y:G@osarch
- Y:G@os_family
- Y:G@os
- Y:G@oscodename
- Y:G@osfinger
- C@openvpn:lookup
- Y:G@id
Expand Down
1 change: 1 addition & 0 deletions test/integration/default/files/_mapdata/debian-10.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ values:
- Y:G@osarch
- Y:G@os_family
- Y:G@os
- Y:G@oscodename
- Y:G@osfinger
- C@openvpn:lookup
- Y:G@id
Expand Down
1 change: 1 addition & 0 deletions test/integration/default/files/_mapdata/debian-9.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ values:
- Y:G@osarch
- Y:G@os_family
- Y:G@os
- Y:G@oscodename
- Y:G@osfinger
- C@openvpn:lookup
- Y:G@id
Expand Down
1 change: 1 addition & 0 deletions test/integration/default/files/_mapdata/fedora-31.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ values:
- Y:G@osarch
- Y:G@os_family
- Y:G@os
- Y:G@oscodename
- Y:G@osfinger
- C@openvpn:lookup
- Y:G@id
Expand Down
1 change: 1 addition & 0 deletions test/integration/default/files/_mapdata/fedora-32.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ values:
- Y:G@osarch
- Y:G@os_family
- Y:G@os
- Y:G@oscodename
- Y:G@osfinger
- C@openvpn:lookup
- Y:G@id
Expand Down
1 change: 1 addition & 0 deletions test/integration/default/files/_mapdata/fedora-33.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ values:
- Y:G@osarch
- Y:G@os_family
- Y:G@os
- Y:G@oscodename
- Y:G@osfinger
- C@openvpn:lookup
- Y:G@id
Expand Down
1 change: 1 addition & 0 deletions test/integration/default/files/_mapdata/gentoo-2-sysd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ values:
- Y:G@osarch
- Y:G@os_family
- Y:G@os
- Y:G@oscodename
- Y:G@osfinger
- C@openvpn:lookup
- Y:G@id
Expand Down
1 change: 1 addition & 0 deletions test/integration/default/files/_mapdata/gentoo-2-sysv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ values:
- Y:G@osarch
- Y:G@os_family
- Y:G@os
- Y:G@oscodename
- Y:G@osfinger
- C@openvpn:lookup
- Y:G@id
Expand Down
1 change: 1 addition & 0 deletions test/integration/default/files/_mapdata/opensuse-15.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ values:
- Y:G@osarch
- Y:G@os_family
- Y:G@os
- Y:G@oscodename
- Y:G@osfinger
- C@openvpn:lookup
- Y:G@id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ values:
- Y:G@osarch
- Y:G@os_family
- Y:G@os
- Y:G@oscodename
- Y:G@osfinger
- C@openvpn:lookup
- Y:G@id
Expand All @@ -29,6 +30,7 @@ values:
- network-manager-openvpn-gnome
pkgs:
- openvpn
- openssl
service: openvpn
service_function: running
user: openvpn
1 change: 1 addition & 0 deletions test/integration/default/files/_mapdata/oraclelinux-7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ values:
- Y:G@osarch
- Y:G@os_family
- Y:G@os
- Y:G@oscodename
- Y:G@osfinger
- C@openvpn:lookup
- Y:G@id
Expand Down
1 change: 1 addition & 0 deletions test/integration/default/files/_mapdata/oraclelinux-8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ values:
- Y:G@osarch
- Y:G@os_family
- Y:G@os
- Y:G@oscodename
- Y:G@osfinger
- C@openvpn:lookup
- Y:G@id
Expand Down
1 change: 1 addition & 0 deletions test/integration/default/files/_mapdata/ubuntu-16.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ values:
- Y:G@osarch
- Y:G@os_family
- Y:G@os
- Y:G@oscodename
- Y:G@osfinger
- C@openvpn:lookup
- Y:G@id
Expand Down
1 change: 1 addition & 0 deletions test/integration/default/files/_mapdata/ubuntu-18.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ values:
- Y:G@osarch
- Y:G@os_family
- Y:G@os
- Y:G@oscodename
- Y:G@osfinger
- C@openvpn:lookup
- Y:G@id
Expand Down
1 change: 1 addition & 0 deletions test/integration/default/files/_mapdata/ubuntu-20.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ values:
- Y:G@osarch
- Y:G@os_family
- Y:G@os
- Y:G@oscodename
- Y:G@osfinger
- C@openvpn:lookup
- Y:G@id
Expand Down
1 change: 1 addition & 0 deletions test/integration/default/files/_mapdata/windows-10.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ values:
- Y:G@osarch
- Y:G@os_family
- Y:G@os
- Y:G@oscodename
- Y:G@osfinger
- C@openvpn:lookup
- Y:G@id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ values:
- Y:G@osarch
- Y:G@os_family
- Y:G@os
- Y:G@oscodename
- Y:G@osfinger
- C@openvpn:lookup
- Y:G@id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ values:
- Y:G@osarch
- Y:G@os_family
- Y:G@os
- Y:G@oscodename
- Y:G@osfinger
- C@openvpn:lookup
- Y:G@id
Expand Down
1 change: 1 addition & 0 deletions test/integration/default/files/_mapdata/windows-8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ values:
- Y:G@osarch
- Y:G@os_family
- Y:G@os
- Y:G@oscodename
- Y:G@osfinger
- C@openvpn:lookup
- Y:G@id
Expand Down

0 comments on commit 69be26f

Please sign in to comment.