[puppet] How to disable installation of mysql::server and only create databases?

Takashi Kajinami tkajinam at redhat.com
Wed Apr 13 14:01:44 UTC 2022

I'm afraid no.

As you mentioned the openstacklib::db::mysql defined type includes the
which triggers installation and configuration of mysql.

This is basically because the implementation uses some resources like
imported from puppetlabs-mysql and these resources are designed to work in
the node
where mysql is deployed by mysql::server. (Especially the ~/.my.cnf file

Technically speaking you can remove that include as long as you can prepare
all of
the required resources with these resources but that'd be quite tricky.

On Tue, Apr 12, 2022 at 11:42 PM Christian Rohmann <
christian.rohmann at inovex.de> wrote:

> Hey openstack-discuss,
> is there any intended way of using e.g cinder::db::mysql (which is using
> puppet-openstacklib) to create databases, but not also run / include
> mysql::server which apparently happens at
> https://github.com/openstack/puppet-openstacklib/blob/33fb90326fadd59759d4a65dae0ac873e34ee95b/manifests/db/mysql.pp#L80
> ?
> In short I already have a running database server and only want the
> databases to be created.
> Thanks,
> Christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20220413/3b3a07a0/attachment.htm>

More information about the openstack-discuss mailing list