Add explicit help instructions to README
This commit adds an explicit mention of where to get assistance with the module. This commit also adds a link to the PE documentation as it now features the three reference architectures.
Merge pull request #91 from trlinkin/readme-help
Add explicit help instructions to README
Improve error handling of peadm::download task
Prior to this commit, the `peadm::download` task would exit with
"success" when S3 returned a "404 Not Found" error page. This
would happen when a PE version was reqeusts that did not support
the OS platforms being provisioned. E.g. requesting an install of
PE 2018.1 on RedHat 8. The provisioning plan would then blow
later when `tar` found an XML document instead of a gzipped archive.
This commit updates the download task to:
- Print the URL being downloaded to stderr.
- Pass the `-f` flag to `curl` when downloading tarballs.
This causes curl to exit with a status of 22 if the
HTTP response is an error.Merge pull request #92 from Sharpie/improve-download-error-detection
Improve error handling of peadm::download task
Merge pull request #94 from rajeshr264/master
made print() call Py3 compliant, added checks for Py execs
Revert "made print() call Py3 compliant, added checks for Py execs"
This reverts commit ad6ae24.
Merge pull request #95 from ody/fix_failures_with_exit
Revert "made print() call Py3 compliant, added checks for Py execs"
Re-implement ad6ae24 without behavior change
This commit re-implements ad6ae24, but without a discovered behavior change, where the task would exit with code 1 if the target file to read did not exist. The expected and original behavior is that if the file does not exist, the content key is set to null and the error key is set to a string value, but the task return code is still 0.
Merge pull request #96 from puppetlabs/re-implement-ad6ae240
Re-implement ad6ae24 without behavior change
Add direct download option for PE installers
This commit adds a new download_mode parameter to the peadm::provision and peadm::upgrade plans. The default value for the parameter is bolthost, which causes PE installation content to be downloaded to the stagingdir of the workstation running bolt and then uploaded to the PE hosts. Setting download_mode to direct causes PE installation content to be downloaded directly to the PE hosts. The direct mode skips uploads, which offers a significant speed boost when the PE hosts have a route to the internet and the bolt host is connected by a slow link, such as VPN.
Merge commit 'cc855427606631ea238a87d6926bab0095da6a61'
Tag 1.1.0 is in this commit. Somehow it wasn't in the master branch.
Add puppetdb.conf to docker containers
* When running puppetdb queries in the container it is helpful to
have the the config file setup already. This commit configures
the puppetdb.conf file on the puppet servers. * The docker container for bolt was having some encoding issues
after running a plan. This fixes that issue so the plan/command
does not fail.
* Only applies to the example docker containersAlways restart docker container
* This only applies to our example docker containers.
If the docker host reboots, the containers will now
restart upon reboot. Was just too annoying before to always
have to start up the machines again. * previously if a puppet 5 agent had already submitted a CSR
the submit_csr task would fail. This fixes that by checking
if the host making the request has a cert already.
Note this does not verify the cert is actually valid but only if the
cert exists or not. In puppet 6 we use ssl verify to do actual
verification.Update docker documentation for agent containers
* Specifies how to start a container so it can use the PE stack.
Merge pull request #97 from Sharpie/add-direct-download-option
Add direct download option for PE installers
Remove early pe-puppet user reference
Rely on the Puppet agent run and puppet_enterprise module to apply the correct permissions when it runs
Make read_file() compatible with python3
Needs parenthesis around the `print()` function arguments.
Provide indication that the 1.x releases of peadm can only install up to PE 2019.5.