<div dir="ltr"><div>I'm afraid no.</div><div><br></div><div>As you mentioned the openstacklib::db::mysql defined type includes the mysql::server,</div><div>which triggers installation and configuration of mysql.</div><div><br></div><div>This is basically because the implementation uses some resources like mysql_user</div><div>imported from puppetlabs-mysql and these resources are designed to work in the node</div><div>where mysql is deployed by mysql::server. (Especially the ~/.my.cnf file created).</div><div><br></div><div>Technically speaking you can remove that include as long as you can prepare all of</div><div>the required resources with these resources but that'd be quite tricky.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 12, 2022 at 11:42 PM Christian Rohmann <<a href="mailto:christian.rohmann@inovex.de">christian.rohmann@inovex.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hey openstack-discuss,<br>
<br>
is there any intended way of using e.g cinder::db::mysql (which is using <br>
puppet-openstacklib) to create databases, but not also run / include <br>
mysql::server which apparently happens at <br>
<a href="https://github.com/openstack/puppet-openstacklib/blob/33fb90326fadd59759d4a65dae0ac873e34ee95b/manifests/db/mysql.pp#L80" rel="noreferrer" target="_blank">https://github.com/openstack/puppet-openstacklib/blob/33fb90326fadd59759d4a65dae0ac873e34ee95b/manifests/db/mysql.pp#L80</a> <br>
?<br>
<br>
In short I already have a running database server and only want the <br>
databases to be created.<br>
<br>
<br>
Thanks,<br>
<br>
<br>
Christian<br>
<br>
<br>
</blockquote></div>