-
Notifications
You must be signed in to change notification settings - Fork 739
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support RHEL7 password quality and HTTP(S) proxies
Oracle Linux -> OracleLinux in both ansible_os_family and ansible_distribution: ansible/ansible#10789 (Note - older versions before latest 1.9 had the name including a space - but I can see PR to drop 1.9 support is in progress) pam_pwfamily (the supposed package to install to get password complexity checking in RHEL7) doesn't seem to exist. There is a libpwquality package that provides /usr/lib64/security/pam_pwquality.so, but that is installed by default according to a RHEL support case answer.
- Loading branch information
Tristan Keen
committed
Jan 19, 2017
1 parent
a8f8cd0
commit 1cacbf4
Showing
8 changed files
with
55 additions
and
16 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# This is a Vagrant block to allow proxy settings to be carried into Kitchen | ||
# You need this for all of yum/apt etc. to work! | ||
unless ENV['http_proxy'].empty? || Vagrant.has_plugin?("vagrant-proxyconf") | ||
raise "Missing required plugin 'vagrant-proxyconf' to support HTTP(S) proxies, run `vagrant plugin install vagrant-proxyconf`" | ||
end | ||
|
||
Vagrant.configure(2) do |config| | ||
config.proxy.http = "#{ENV['http_proxy']}" | ||
config.proxy.https = "#{ENV['https_proxy']}" | ||
config.proxy.no_proxy = "localhost,127.0.0.1" | ||
|
||
# You may have vagrant-vbguest plugin installed to keep your images up to date | ||
# - but will probably have VBoxAddition build issues with the foreign boxes listed in .kitchen.vagrant.yml | ||
config.vbguest.auto_update = false | ||
end |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
os_packages_pam_ccreds: 'pam_ccreds' | ||
os_packages_pam_passwdqc: 'pam_passwdqc' | ||
os_packages_pam_cracklib: 'pam_cracklib' | ||
os_packages_pam_pwquality: 'pam_pwfamily' | ||
os_nologin_shell_path: '/sbin/nologin' |