Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker inventory refactor #114

Merged
merged 3 commits into from Aug 13, 2020
Merged

Docker inventory refactor #114

merged 3 commits into from Aug 13, 2020

Conversation

logicminds
Copy link
Contributor

Please see commit message for details.

This refactors the docker setup to use a new container_inventory plugin for bolt.

Additionally, 2019.8.0 was tested on several stack sizes with success.

  * previously we had to manually specify which containers were being
    used by syncing the hostname of the container into the inventory
    file.

    This simplifies that by using the bolt container_inventory plugin
    to search for containers that are part of a docker-compose file.

    So given the location of the compose file we can determine which
    group it belongs to and thus filter out containers based on the
    compose file folder selected.

    This refactor allows us to move the inventory file to a more global
    directory instead of maintaining individual files.

    The bolt container was also removed as it was conflicting with the
    various versions of puppet and peadm requirements. Bolt is now used
    directly on the system running development system which could be
    useful for other things.

    Additionally, the transport has been changed from ssh to docker.
  * This adds a role label to the host so we can identify
    the purpose of the container and perform some automation.
@logicminds logicminds requested a review from a team as a code owner August 13, 2020 07:03
@reidmv reidmv merged commit df74940 into puppetlabs:main Aug 13, 2020
@logicminds logicminds deleted the docker_inventory branch August 14, 2020 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants