(maint) Update platform definitions
MCollective testing requires an activemq broker, and the most straight-forward way to set that up is put it on the master. So discontinue masterless testing and move activemq to the master.
(PUP-4479) Add Source and Arch parameters
- Allow users to specify x86 for Windows and other distros - Allow the user to specify alternate source to download from - Readme updates to correspond to source, arch params
Merge pull request #27 from cyberious/Windows
(PUP-4479) Source and Arch param additions
(PUP-4478) Add Deb package support
Adds support for Debian 6 and 7, and Ubuntu 12.04, 14.04, and 14.10.
(docs) Update supported platforms
Updates README to note Debian and Ubuntu support. Drops Fedora 20 hosts file due to issue at chef/bento#333
Merge remote-tracking branch 'upstream/pr/26'
* upstream/pr/26: (docs) Update supported platforms (PUP-4478) Add Deb package support (maint) Update platform definitions
(maint) Update Beaker to latest and pin gems
Required to pickup BKR-273 and BKR-280. Pin gems to a major version to avoid breaking changes.
(PUP-4603) Use Puppet Server 2.1+ for tests
Use the latest Puppet Server release from Puppet Collections 1 for acceptance testing. The tests require at least Puppet Server 2.1 to include backwards compatibility with Puppet 3.8.
(maint) Only test specs per osfamily
The behavior of puppet_agent::prepare only changes between os families, not between os. Specs are slow doing many resource checks for each family, so do them per os family instead.
Merge remote-tracking branch 'upstream/pr/28'
* upstream/pr/28: (maint) Only test specs per osfamily (PUP-4603) Use Puppet Server 2.1+ for tests (maint) Remove work-around for BKR-262 (maint) Update Beaker to latest and pin gems
(PUP-4606) Test agent after upgrade
Add acceptance tests confirming that the agent works after upgrade is completed.
Merge remote-tracking branch 'upstream/pr/29'
* upstream/pr/29: (PUP-4606) Test agent after upgrade
(PUP-4746) Update mco settings custom fact
Without this change, mco_*_settings will only return the 1st declaration of a setting in the config file. Update the fact to return values from all declarations.
(PUP-4735) Modify acceptance test for mco config
MCollective config files can contain multiple declarations of the same property. Ensure acceptance testing covers that case.
(PUP-4690) Migrate SSL stuff based on individual settings
Previously the ssldir was migrated monolithically. Unfortunately, Puppet allows setting paths for several parts of the ssldir individually. This now will take those disparate settings and combine them into one ssldir post-migration. It's a lot like voltron, but with more SSL.
Merge pull request #35 from branan/feature/master/pup-4690/ssl_dirs
(PUP-4690) Migrate SSL stuff based on individual settings
Merge pull request #36 from MikaelSmith/bug/master/PUP-4746
(PUP-4746, PUP-4735) Fix mco setting fact and add tests
(PUP-4479) Windows addition for upgrade
- Create batch file to kick off and await ruby pid exit - Add PID fact so we can wait for process end, needs to be Fact as template would be master PID and not agent - Need tmpdir to determine temporary directory of current context - Enforce x86 on kernel 5.x, - Allow user to pass puppet:// and download accordingly to the tmpdir
(PUP-4479) Preprare and facter changes
- Update mco_config to look up configs for windows - Add prepare for windows post install
(PUP-4479) Spec_helper_acceptance for windows
(maint) Move ssl prepare to seperate file
(maint) Move mco config to seperate class
- Seperate configs into context specific classes
(maint) Move puppet_config work into seperate class
- Move the puppet config work into seperate class - Finish the moving of logic out of prepare class to seperate classes
Merge pull request #34 from cyberious/PUP-4479_batch
(PUP-4479) Windows addition for upgrade
(FM-2910) Update / to \ as well as remove / from spaces escapes
- Ensure we are not modifying UNC path - Add tests for both C:\Temp/ Folder\ escape and C:/tmp/
(maint) Add docs and assert_private to classes
(FM-2911) Munge cmd path if rubyplatform =~ i386
- On ruby i386 ::system32 always reports sysnative on 64 bit system unable to execute c:\windows\sysnative\cmd.exe from 32 bit ruby
Merge pull request #39 from cyberious/FM-2911
Tested and the fix works.
Merge pull request #37 from cyberious/AssertPrivate
(maint) Add docs and assert_private to classes
(PUP-4478) Fix apt refreshes on Ubuntu
The module requires that apt update before installing the package. Class level dependencies don't seem to enforce that, so add an explicit sentinel to force the apt_update exec to run before finishing the repo setup.
(maint) Skip testing service start on agent runs
In some cases having the `puppet` service running when trying to run `puppet agent` manually to verify idempotency results in an error, because the service has also started an agent run at the same time. `puppet apply` tests that the service is started after upgrade. Disable starting the `puppet` service during agent runs to avoid the race condition.
Merge remote-tracking branch 'upstream/pr/41'
* upstream/pr/41: (maint) Skip testing service start on agent runs (PUP-4478) Fix apt refreshes on Ubuntu
DOC-4765: added Windows Known Issues to ##Limitations in README
Merge pull request #42 from jbondpdx/readme
DOC-4765: added Windows Known Issues to ##Limitations in README
(PE-10132) Use source parameter if specified
Previous to this commit, the only platform to take advantage of the source parameter on the `puppet_agent` class was windows, leaving Debian and Redhat with a hardcoded repository source. This commit adds support for both debian and redhat platforms to use the source parameter. If the parameter is not specified, it will fall back to using their respective puppetlabs.com repositories.
(PE-10132) Add support for pe_repo as a source
This commit adds pe_repo support for users in a Puppet Enterprise environment. In a typical PE install, the PE master will be assigned the pe_repo class and will host the packages, giving us a safe default. In the event that they have changed either the server or repo_dir parameters, then they must pass in the source parameter.
(PE-10132) Add SLES 12 PE support
This commit extends the list of supported platforms to 64bit SLES, which is currently PE only.
(PE-10132) Change way is_pe is determined
Previous to this commit, determinig if the module was running in a PE environment was to use the fact provided by stdlib `$::is_pe`. However with the AIO Puppet agent shipping with the next versio of PE, the fact will no longer work (in it's current form). This commit refactors usage of it to params.pp and calculates it using both the `$::is_pe` fact and stdlibs `is_function_available` and checking for a function provided by the Puppet Enterprise module.
(PE-10132) Use agent certs and enable SSL for PE users
Previous to this commit, for PE users, SSL verification was disabled due to self signed certificates. This commit enables SSL verification for Debian and Redhat based OS familys by configuring their respectivie repositories to use the agents certificates.
(PE-10132) Add spec test coverage for PE platforms
This commit extends spec test coverage to PE platforms by setting the `is_pe` fact to true.
Merge pull request #44 from ericwilliamson/task/master/PE-10132-add-p…
…e-support (PE-10132) Add PE support for SLES 12, Debian, RedHat platforms
(maint) Use BKR-314 and BKR-317 fixes
BKR-314 and BKR-317 identified issues with using Beaker helpers for upgrade scenarios. Simplify the acceptance setup by using Beaker helpers now that they're fixed.
(maint) Remove Beaker step commands
Using `step` with beaker-rspec is frowned-upon. Remove it and use `puts` instead.
(maint) Ensure sudo: false for container builds
Ensure sudo is not used so we use TravisCI container-based builds.
(PE-10132) Add SLES 11 support
The last of the SLES 11 package issues have been fixed, making it ready for inclusion in the module.
Merge pull request #45 from ericwilliamson/task/master/PE-10132-add-s…
…les-12 (PE-10132) Add SLES 11 support
(maint) Use puppet_agent_version for Beaker 2.16
Beaker 2.16 requires the `puppet_agent_version` is set for `install_puppet_agent_on`. Set to the latest puppet-agent version. [skip ci] no effect on TravisCI