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

k8s: modules do not get deployed per updated Puppetfile #188

Closed
slconley opened this issue Nov 20, 2019 · 2 comments
Closed

k8s: modules do not get deployed per updated Puppetfile #188

slconley opened this issue Nov 20, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@slconley
Copy link
Contributor

slconley commented Nov 20, 2019

Describe the Bug

When a Puppetfile in any branch of the puppet-control repo is updated to add modules, those modules do not get deployed when r10k-deploy cronjob is run.

Expected Behavior

Modules added to any environment Puppetfile should be deployed to environment directory (i.e. /etc/puppetlabs/code/environments/production/modules).

Steps to Reproduce

Steps to reproduce the behavior:

  1. Deploy app as normal, with at least one branch/environment in a puppet-control repo, and that repo having a Puppetfile with some modules listed.
  2. Wait for the cronjob to complete the initial r10k deploy, and verify that the modules were deployed for the environment.
  3. Add some modules to the Puppetfile for that environment and commit/push to the puppet-control repo.
  4. Wait for next run of r10k-deploy cronjob. Verify that no new modules were added to puppetserver container.

Environment

  • Version: Kubernetes 1.14.8
  • Platform: Docker-for-Desktop w/k8s enabled. Will be testing on other systems soon.

Additional Context

As with another issue I opened... I have been testing with private git repos via ssh for puppet-control, hiera, and most of the modules. Since all of this works on the initial deploy, it seems the repo/transport types are not factors.

@slconley slconley added the bug Something isn't working label Nov 20, 2019
@Xtigyro Xtigyro self-assigned this Nov 21, 2019
@Xtigyro
Copy link
Collaborator

Xtigyro commented Nov 21, 2019

@slconley Thanks for contributing!

@slconley
Copy link
Contributor Author

Glad to be helping... I should have a PR soon for some other stuff that is more straight-forward to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants