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

Lumenvox services write over their config files #1

Open
JustinAiken opened this issue Jun 16, 2014 · 1 comment
Open

Lumenvox services write over their config files #1

JustinAiken opened this issue Jun 16, 2014 · 1 comment
Labels

Comments

@JustinAiken
Copy link
Contributor

The endless cycle

All of the various services tend to write their own config files, based on what's there and the version... right now this causes an endless cycle:

  1. A puppet run is started
  2. Puppet sees the config file has changed, so it installs it's own from the template
  3. The service resource restarts because it sees the config file changes
  4. Upon restarting, the service sees that it's config file has changed, and overwrites it
  5. GOTO 1

Impact

The service keeps all the values in the config file the same, so no great harm is done, but it causes runs that should write no changes to have 4 or 5 changes everytime.

Solution?

I think the only way to fix this will be to move away from managing the config files as a file resource from a template source, and instead set individual values in the config file using file_line instead.

@benlangfeld
Copy link
Member

Why does Lumenvox write config files on service start? That’s broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants