-
-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add Data in modules * Remove root_group parameter * Removed top scope variables * Removed create_resources * Removed params.pp * Remove systemd option in favor of facts provided by stdlib
- Loading branch information
Showing
27 changed files
with
247 additions
and
212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM ruby:2.4 | ||
|
||
WORKDIR /opt/puppet | ||
|
||
ENV PUPPET_VERSION "~> 5" | ||
ENV PARALLEL_TEST_PROCESSORS=4 | ||
|
||
# Cache gems | ||
COPY Gemfile . | ||
RUN bundle install --without system_tests development release --path=${BUNDLE_PATH:-vendor/bundle} | ||
|
||
COPY . . | ||
|
||
RUN bundle install | ||
RUN bundle exec rake rubocop | ||
RUN bundle exec rake test | ||
RUN bundle exec rake test_with_coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
openvpn::autostart_all: true | ||
openvpn::manage_service: true | ||
openvpn::etc_directory: '/etc' | ||
openvpn::group: 'nobody' | ||
openvpn::link_openssl_cnf: true | ||
openvpn::pam_module_path: ~ | ||
openvpn::namespecific_rclink: false | ||
openvpn::default_easyrsa_ver: '2.0' | ||
openvpn::easyrsa_source: '/usr/share/easy-rsa/' | ||
openvpn::additional_packages: ['easy-rsa'] | ||
openvpn::ldap_auth_plugin_location: ~ | ||
openvpn::systemd: false | ||
|
||
openvpn::deploy::prepare::etc_directory: "%{alias('openvpn::etc_directory')}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
openvpn::default_easyrsa_ver: '3.0' | ||
openvpn::etc_directory: '/etc' | ||
openvpn::additional_packages: ['easy-rsa'] | ||
openvpn::easyrsa_source: '/usr/share/easy-rsa/' | ||
openvpn::group: 'nobody' | ||
openvpn::ldap_auth_plugin_location: ~ | ||
openvpn::pam_module_path: ~ | ||
openvpn::link_openssl_cnf: true | ||
openvpn::namespecific_rclink: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
openvpn::etc_directory: '/etc' | ||
openvpn::group: 'nogroup' | ||
openvpn::link_openssl_cnf: true | ||
openvpn::namespecific_rclink: false | ||
openvpn::default_easyrsa_ver: '2.0' | ||
openvpn::additional_packages: ['easy-rsa','openvpn-auth-ldap'] | ||
openvpn::easyrsa_source: '/usr/share/easy-rsa/' | ||
openvpn::ldap_auth_plugin_location: '/usr/lib/openvpn/openvpn-auth-ldap.so' | ||
openvpn::pam_module_path: '/usr/lib/openvpn/openvpn-plugin-auth-pam.so' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
openvpn::etc_directory: '/usr/local/etc' | ||
openvpn::group: 'nogroup' | ||
openvpn::link_openssl_cnf: true | ||
openvpn::pam_module_path: '/usr/local/lib/openvpn/openvpn-auth-pam.so' | ||
openvpn::additional_packages: ['easy-rsa2'] | ||
openvpn::easyrsa_source: '/usr/local/share/easy-rsa' | ||
openvpn::default_easyrsa_ver: '2.0' | ||
openvpn::namespecific_rclink: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
openvpn::etc_directory: '/etc' | ||
openvpn::group: 'nobody' | ||
openvpn::link_openssl_cnf: true | ||
openvpn::pam_module_path: '/usr/lib64/openvpn/plugin/lib/openvpn-auth-pam.so' | ||
openvpn::namespecific_rclink: false | ||
openvpn::default_easyrsa_ver: '3.0' | ||
openvpn::easyrsa_source: '/usr/share/easy-rsa/3' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
openvpn::additional_packages: ['easy-rsa','openvpn-auth-ldap'] | ||
openvpn::ldap_auth_plugin_location: '/usr/lib64/openvpn/plugin/lib/openvpn-auth-ldap.so' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
openvpn::additional_packages: ['easy-rsa'] | ||
openvpn::ldap_auth_plugin_location: ~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
version: 5 | ||
|
||
defaults: | ||
datadir: 'data' | ||
data_hash: yaml_data | ||
|
||
hierarchy: | ||
- name: 'OS Major Release Overrides' | ||
path: "family/%{facts.os.family}/%{facts.os.release.major}.yaml" | ||
- name: 'Operating System' | ||
path: "os/%{facts.os.name}.yaml" | ||
- name: 'Operating System Family' | ||
path: "family/%{facts.os.family}.yaml" | ||
- name: 'Defaults' | ||
path: 'defaults.yaml' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.