We’re using puppet to deploy percona instances to our database servers.
The puppet doesn’t start instances automaticlly and doesn’t manage mysql service, we do this manually ( this is our requirements ).
When I’m trying to install the pmm-client by puppet I’m facing with the some problems: the “pmm-admin add mysql” command is trying to connect to the mysql instance and it’s fails because the instance is down(as I described before).
There is a some way to add not running mysql instance to the pmm or it should be up ?
That’s might be problematic for automated installations (e.g. puppet, chef etc), which might not want to start the instance automatically.
I think a --offline flag is a good feature. Let people who know what they do, do their thing.
That might be problematic for automated configuration tools (e.g. puppet, chef etc), which might not start the instance automatically (for all sort of reasons). You can either make the user specify all the needed variables himself, or defer the automatic detection to when the instance is up.