Skip to content

Add manage_all_configs parameter to remove old configurations#6

Open
davidalexander83 wants to merge 2 commits intogabe-sky:masterfrom
davidalexander83:master
Open

Add manage_all_configs parameter to remove old configurations#6
davidalexander83 wants to merge 2 commits intogabe-sky:masterfrom
davidalexander83:master

Conversation

@davidalexander83
Copy link
Copy Markdown

If you install and/or run ngrok manually prior to Puppet management, it will create /home/username/.ngrok2/ngrok.yml for any user that runs it.

ngrok will process these configurations first, prior to any configuration in /etc/ngrok.yml. Doesn't seem to always happen but happens more often than not.

This PR employs a recursive tidy resource to remove any ngrok.yml files found in /home, triggered by specifying $manage_all_configs => true. The readme has also been updated to reflect this with an example.

The default is $manage_all_configs => false so that we are non-destructive in our management.

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.

1 participant