Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/voxpupuli/container-puppetdb
Container image for PuppetDB
https://github.com/voxpupuli/container-puppetdb
The output for `ifconfig` changed
f0eebf8f8b7bf244cf689fc96a859a5d475ca02a authored about 5 years ago by Morgan Rhodes <[email protected]>
- This is necessary to be able to test the USE_PUPPETSERVER
functionality
- Container was setup to use /etc/puppetlabs/puppetdb/logging for
storing logging config. Us...
6b40f5db4ea463214ff9b06577c7bf9b64644d94 authored about 5 years ago by Morgan Rhodes <[email protected]>
4c23fc0e897055df16007f54a270de2d47370afc authored about 5 years ago by Morgan Rhodes <[email protected]>
- Reconfigure logs for /opt/puppetlabs/server/data/puppetdb/logs
rather than /var/logs/puppe...
- It turns out that LCOW has a bug with permissions on Docker VOLUMEs
which is why Postgres ...
- Based on the container configuration, there are 3 separate locations
where persistent data...
- pupperware stack is using this as a healthcheck, which allows
replacing any calls to PDB s...
- When the base container image was changed from Alpine Linux to
Debian Slim Buster in #3040...
- pg_isready is insufficient for determining that the Postgres database
is "healthy", since ...
- docker_compose_up helper does some extra logging
- use require_test_image and docker_compose...
- When the stack fails to start properly (for a variety of reasons),
the suite will fail qui...
We already fail fast when the :before block errors, and we'd prefer to
run all tests if we get o...
- wait_on_service_health now sets the default timeout based on the
definition of the healthc...
- Alpine seems to still be having issues with DNS resolutions inside
an LCOW environment. In...
Using an ENV variable in the definition of another ENV variable in the
Dockerfile doesn't work a...
- wait_on_puppetdb_status is deprecated in favor of using generic
HEALTHCHECK waiters that r...
The new version fails immediately if the CA already has an unsigned CSR
for this host, instead o...
We should run this check every 10 seconds to
decrease latency with consul knowing what services/...
* (maint) Use explicit hostname/network for puppetdb tests
1e935bebcc1604e61e61db70414762f86000c846 authored about 5 years ago by Morgan Rhodes <[email protected]>
Bundle installing / bundle execing with an RVM project in travis gets
complicated when there's a...
ac4514934eda1ee7fabe9d46d330ac8700246af9 authored about 5 years ago by Nate Wolfe <[email protected]>
- The host command may return non-zero exit codes when the given host
is missing certain rec...
- Running `dig` always yields a non-zero exit code. Capture the exit
status of the wtfc.sh h...
- Unexpectedly, a Travis failure was also encountered where 30 seconds
of running `host post...
- New variable `PUPPETSERVER_PORT` is added that defaults to 8140
02dbc323c85ee63b3d85f96a1331c950d1f980b4 authored about 5 years ago by Iristyle <Iristyle@github>
- Rename wait_for_host to wait_for_host_name_resolution to better
reflect its purpose.
C...
7ff10c62ce3655a23b76a13768cfd998f38dc446 authored about 5 years ago by Iristyle <Iristyle@github>
- There appear to be many reported issues against Alpine DNS. This
is an attempt to work aro...
- Prior to this commit, the wait script would wait on the host named
'postgres' with a fixed...
- This version adds 5 curl retries with a delay of 2 seconds to work
around transient issues...
- The previous format can confuse LCOW and result in errors like:
CreateProcess: failure in...
e6494c43a8513acd8b6ec756a8df1fc99d213d36 authored about 5 years ago by Iristyle <Iristyle@github>
We haven't built these for quite a while and there's been drift between
the main containers and ...
The CRL isn't necessary here in PuppetDB but update to the latest
version of this script anyway ...
We were checking for an incorrect string to tell when puppetserver is up
and running, causing PD...
- Nit
ed02ec8a263cb7da1320a7c25bd623b97d193bf3 authored about 5 years ago by Iristyle <Iristyle@github>
- After some fumbling around with @underscorgan, we determined that the
wtfc code doesn't pr...
- Until some of the PDB code is more resilient to Postgres,
Puppetserver and Consul starting...
- All shared container helper methods have been extracted so that they
can be consumed acros...
- When firing up the PDB container, it was waiting 90 seconds by
default for Postgres to bec...
- Sometimes it's useful to pass in additional env vars, so support
that
- Ruby added a feature to report on all exceptoins in threads.
Intermittently the suite wil...
c9fdf80546007bcb8678b8bdda383e69640eb2bb authored about 5 years ago by Iristyle <Iristyle@github>
- Given before(:all) waits for the puppetdb database to be created in
Postgres, there's no n...
- Much easier to describe the cluster in a compose file and start it
that way than intersper...
- The name start_puppetdb is misleading, as PDB has already started,
but is not yet running ...
- Because of how exceptions are handled, it's not easy to immediately
fail the suite when a ...
- When test suites fail, they may leave the Postgres container running
which locks files on ...
49c7accbeb4fe4c6908c946323d837dc16138086 authored about 5 years ago by Morgan Rhodes <[email protected]>
ca0d879b8dfbbbdf1171d108689452fee14a5395 authored about 5 years ago by Morgan Rhodes <[email protected]>
- Centralize waiting operations in 10-wait-for-hosts.sh by moving
any waiting out of 30-conf...
- When running on Windows RS5 builds - i.e. Windows 10 1809 OR
Windows Server 2019, the Linu...
- When prior runs fail they may leave the puppetdb_test_network behind
which causes subseque...
1ebbacce2dd0f64a3cb761825facf3d4520da0be authored about 5 years ago by Iristyle <Iristyle@github>
- In Pupperware tests, waiting on the puppetserver to be listening
introduces additional wai...
- In rare situations running chmod and the script directly afterwards
causes a 'Text file bu...
02803194047784bbe8f5cc4ab641826f67a9edfb authored about 5 years ago by Morgan Rhodes <[email protected]>
- Because neither Consul or Puppetserver are enabled in the test suite
a simple test was use...
The variable `PUPPERWARE_DISABLE_ANALYTICS` has been renamed to
`PUPPERWARE_ANALYTICS_ENABLED`. ...
- If a network or any container fails to initially provision, which
can be due to the same r...
- log rspec version
- add `gem env` output
- Copy in some of the helper code form pupperware so that when things
fail, there's some use...
- Capture stdout as well for the sake of commands that expect to
use output of one command i...
- Done for consistency with pupperware
- Switch `;` to `and` to appease rubocop
- This code is clearly generic and belongs in helper file
98a1d1c2571a13291f6c031a5d9dad7a2eb21679 authored about 5 years ago by Iristyle <Iristyle@github>- Move from using %x to popen2e
%x seems to be causing problems with Azure runs, causing fa...
ac2020a1da3329af15debe8e69729b4345047d43 authored about 5 years ago by Iristyle <Iristyle@github>(maint) Setup Docker PuppetDB LOGDIR / add logging
964308580d0054114b524d0daa4356595deb44a3 authored about 5 years ago by Ethan J. Brown <[email protected]>
- Configure more like pe-puppetdb, adding GC logs to the appropriate
output directory
- Configure open source PDB similarly to pe-puppetdb, to:
* be consistent between environme...
d9fab7fe1672d5583a6f68c50b28c4328491ddf7 authored about 5 years ago by Iristyle <Iristyle@github>2fa4f1d5488f216bf3b101afe4f554c9ff006103 authored about 5 years ago by Iristyle <Iristyle@github>
(CPR-718) Add resiliency for consul ipaddress checks
76a4224791588fbc75fae8c7f2bfb98c6b056f63 authored about 5 years ago by Ethan J. Brown <[email protected]>
- Reduce both the start period by 2m and increase the retries
by 1m to overall reduce wait t...
(MAINT) Group gem dependencies
b9be1704a61e64f09ccc103e846bcd8b188b059b authored about 5 years ago by Nate Wolfe <[email protected]>725ebc14a9e2c400697220d45cdb1c937cb3c1d7 authored about 5 years ago by Morgan Rhodes <[email protected]>
168f63643ea2a13e2d82683a7fc9aac53895f208 authored about 5 years ago by Morgan Rhodes <[email protected]>
Allows us to speed up calls to bundler by specifying groups to operate on.
e4da5418d9d21a510c4bc0c0ea6b0af846c508ef authored about 5 years ago by Nate Wolfe <[email protected]>
- Docker supplies the HOSTNAME value, which may be different from how
host recognizes its ho...
(maint) Docker spec suite consistency
aebab42c6b9af4eee46ea82fa68010523a4e395c authored over 5 years ago by Ethan J. Brown <[email protected]>
- Latest spec helpers include a new wait_on_stack_healthy that is
automatically called by do...
- Rewrite docker-compose.yml to follow conventions set in other compose
files - namely speci...
- Need a bundle update to be able to pull the pupperware spec_helper
(this primarily impacts...
- Due to the LCOW bug https://github.com/moby/moby#39892 make
certain that the logs path als...
- There is a race in container startup where Java may not have a
proper log directory to wri...
- In some instances, users may be deriving from this container to
specify well-known cert fi...
- Disable all ssl-* settings in jetty.ini initially, and only
enable them when USE_PUPPETSER...
(maint) Update docker ssl volume
fa03c79fcfefd8941c0f560a241e06ff6939d822 authored over 5 years ago by Ethan J. Brown <[email protected]>
- Instead of needing an entrypoint script to dynamically rewrite
jetty.ini, use fixed locati...
- Move the SSLDIR inside the PDB data directory
f3e74bb937a0b3fd045845357c3e17b4378c153b authored over 5 years ago by Iristyle <Iristyle@github>
- ssl-setup script was an Alpine compatible version of the puppetdb
ssl-setup helper, used t...
- Make these explicit and use where applicable. This will make things
easier to relocate lat...
- This is necessary to be able to test the USE_PUPPETSERVER
functionality
The output for `ifconfig` changed
299cbd22c123b450636561597aab7b7ec47cd7f9 authored over 5 years ago by Morgan Rhodes <[email protected]>4b309e26fab0ba14cf71af957ee367e753f31974 authored over 5 years ago by Morgan Rhodes <[email protected]>
9670ffd67d9ca5bfa148c0784a561833b277ca60 authored over 5 years ago by Morgan Rhodes <[email protected]>
- Container was setup to use /etc/puppetlabs/puppetdb/logging for
storing logging config. Us...
- Reconfigure logs for /opt/puppetlabs/server/data/puppetdb/logs
rather than /var/logs/puppe...
- Based on the container configuration, there are 3 separate locations
where persistent data...
- It turns out that LCOW has a bug with permissions on Docker VOLUMEs
which is why Postgres ...
- Dockerfile was copying 2 files that were unused. Restore the default
logging configuration...
- wait_on_service_health now sets the default timeout based on the
definition of the healthc...
(MAINT) Remove --fail-fast
0c714e6c5bfcb0fcd378bf3b5fde5b4c1b320622 authored over 5 years ago by Nate Wolfe <[email protected]>