Skip to content

Commit f6b7b9e

Browse files
committedMar 27, 2022
Add basic support for Solaris/Illumos/SmartOS
1 parent 37813ef commit f6b7b9e

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed
 

‎README.md

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Puppet module to manage OpenVPN servers and clients.
2626
* Debian
2727
* CentOS
2828
* RedHat
29+
* Solaris
2930

3031
## Dependencies
3132
- [puppetlabs-concat 3.0.0+](https://github.com/puppetlabs/puppetlabs-concat)

‎data/family/Solaris.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
openvpn::etc_directory: '/opt/local/etc'
2+
openvpn::server_directory: '/opt/local/etc/openvpn'
3+
openvpn::group: 'nogroup'
4+
openvpn::default_easyrsa_ver: '3.0'
5+
openvpn::easyrsa_source: '/opt/local/share/examples/easyrsa'

‎lib/facter/easyrsa.rb

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
when %r{FreeBSD}
2525
binaryv2 = '/usr/local/share/easy-rsa/pkitool'
2626
binaryv3 = '/usr/local/share/easy-rsa/easyrsa'
27+
when %r{Solaris}
28+
binaryv3 = '/opt/local/bin/easyrsa'
2729
end
2830

2931
if File.exist? binaryv3

‎metadata.json

+3
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@
4343
},
4444
{
4545
"operatingsystem": "FreeBSD"
46+
},
47+
{
48+
"operatingsystem": "Solaris"
4649
}
4750
],
4851
"requirements": [

0 commit comments

Comments
 (0)
Please sign in to comment.