Module Version: 6.6.0
Puppet Version: 6.16
OS Name/Version: Debian 10/Buster
When a change to data_directory happens, the database on Debian will always be stopped, even when the service is not managed.
Some lines above there is the same stopping mechanism for directive port, but only for older distros, which should also be applicable for data_directory (at least for Debian 10).
On at least Debian 10, changing of data_directory should not lead to a stop of the database, but instead to a restart (notify of service).
On Debian 10, changing of data_directory will stop the database, even if the service is not managed.