Commit Graph

38 Commits

Author SHA1 Message Date
Takashi Kajinami 5ab278a2f5 Remove support for designate-agent
... because the service was removed from designate.

Depends-on: https://review.opendev.org/c/openstack/designate/+/891317
Change-Id: Ida97a8d1a38248901aea1af2059acc5640b2e4fa
2023-10-27 12:48:40 +09:00
Takashi Kajinami dd44ce031e Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.

Change-Id: Ica6edbc7077c0bb2021cc737f44f3ced84cd5f83
2023-03-01 16:49:01 +09:00
Takashi Kajinami f6458f5524 Remove support for designate-zone-manager
... because it was deprecated during Yoga cycle[1]. The service was
already removed from designate and is no longer available.

[1] cba519f1a3

Change-Id: I83fd48e2ca4240f3cdbc83d118f344d0ffa93926
2022-04-21 15:59:05 +09:00
Takashi Kajinami 34ff6e6f04 Avoid hard-coding OS user/group in each manifest
and replace hard-codes by definition in params.pp .

Change-Id: I6203cf8af6761963a1282b2ed7df1155a34079a5
2022-02-20 19:16:52 +09:00
Brent Eagles 1288b062e8 Add Designate API WSGI support
Add support for running the Designate API under WSGI with Apache.

Change-Id: I2fc87d6a4a166779e34210a377c99b313a0f1b97
2021-11-02 22:57:36 +09:00
Thomas Goirand 369f391be0 Get rid of the $pyvers variable
Since everyone has switched to Python3, it's time for the removal of the
$pyvers variable.

Change-Id: I7345ff04a5a4a7fe30c54871a35e391b21781653
2021-05-21 11:10:34 +02:00
Takashi Kajinami b8d1841876 Use oslo::db class to set database parameters
This patch refactors the designate::db class, by using the oslo::db
class, so that we can get rid of duplicated implementations.

Change-Id: I13156970bdbebfb6c882f992815dcf73d3d0d399
2020-08-31 13:03:56 +09:00
Takashi Kajinami 270465c7fe Cleanup the remaining parameters for designate pool manager
Support for designate pool manager was already removed[1], so we can
remove some parameters for it.

[1] 91c634593e

Change-Id: I9776b4b015a280f6e5f8441caccf896d4de38c44
2020-04-25 23:33:40 +09:00
Tobias Urdin b7f73b35c5 Convert all class usage to relative names
Change-Id: Iae69aff79cc231336b14d65305fff9c64cbd27e0
2019-12-08 23:04:25 +01:00
Tobias Urdin da20139d5d Inherit pyvers from openstacklib::defaults
Change-Id: I6fc7d44af02ad6b4568fecdea0428da91e454b43
2019-01-17 21:25:28 +01:00
Alex Schultz 91e8bb8a39 Install python3-designateclient in Fedora or RedHat > 7
Fedora repo [1] has python3 packages, start consuming those.

[1] http://trunk.rdoproject.org/fedora/puppet-passed-ci/

Change-Id: I598a9bd07d739063c9e7461a960b448baaf0e44d
2018-11-06 11:05:21 +01:00
zhubingbing fc0e055650 Fix lint sytle
Change-Id: I9d1b1c98ea8f601d7ed5eec06883743d495993ef
2018-04-13 16:25:45 +08:00
zhubingbing 96a48ab04b Debian is using python3-designateclient
Change-Id: I55b1d17a2bee2ba4f4b2195c9f58a64c9cad9a77
2018-04-12 11:14:53 +08:00
Emilien Macchi 4c6482c419 Add group to policy management
The move of policy.json into code means the file may not exist. We've
added support to ensure that the file exists in the openstacklib but we
need to make sure the permissions are right for each service. This adds
the group information to the policies so it works right.

Depends-On: I26e8b1384f4f69712da9d06a4c565dfd1f17c9ed
Change-Id: I31bec4b9509e27affd60136537a2a9d6168a62e1
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
2018-01-11 15:54:41 +00:00
Thomas Herve 8120a19e9d Add support for worker service
This enables the worker service to be running.

Change-Id: I492b61f5eb07d2c3039c8bb0f3e99626399bba62
2017-11-16 08:44:25 +01:00
Thomas Herve 8fad53f974 Add support for producer service
Designate now uses a service called producer in the more recent
architecture.

Change-Id: I1c9ed575b70611209299ed50c6ec80ed6d11da7e
2017-11-08 15:01:57 +01:00
Andrew Spiers 0d178f521b Add manifest for designate-zone-manager
Change-Id: I7233d129c6340100ebe310d05b9d934b12c51ed1
2016-12-07 09:57:47 +11:00
Xingchao Yu 172441409b Align equals in designate::params
Change-Id: Ie7c322dc35dd6cefda9681da1336633315964586
2016-11-04 12:37:50 +08:00
Sofer Athlan-Guyot 825e63f4cc Include openstacklib defaults manifest.
This provides a mechanism for setting default across all modules.

Change-Id: I3e30575de6862e2a45825f7223fee046c2de7333
Related-Bug: 1599113
2016-07-08 08:55:43 +00:00
David Moreau-Simard 350b4938a3 Deprecate designate::dns, stop managing config files in lib
The designate::dns class was really just configuring things
according to a bind9 backend. As such, move it's resources to
the bind9 backend manifest and deprecate this class.

Additionnally, we stop managing configuration files resources
inside /var/lib/designate. According to upstream documentation
[1] and from discussing this with upstream developers, this is
not an intended way of configuring designate.
This also avoids having to manage permissions (and selinux)
between designate and bind.

[1]: http://docs.openstack.org/developer/designate/getting-started.html

Change-Id: Ia62a3d1a72622f3eb1ceeabaf4cef36090a7a8d3
2016-07-06 12:12:51 -04:00
David Moreau-Simard a86dc49add RDO service names are not prefixed by "openstack-" for designate
Reference: https://github.com/rdo-packages/designate-distgit

Change-Id: I86d875a2e9cab8d929bd644943ad516dbc653188
Closes-Bug #1523781
Co-Authored-By: Andrew Spiers <andrew@andrewspiers.net>
Co-Authored-By: Karim Boumedhel <karimboumedhel@gmail.com>
2016-07-05 02:47:15 +00:00
David Moreau-Simard 5dcd51eca2 Fix typo that would make the package name the service name
Since the service and the package name can differ, it is important
to really choose the PACKAGE name and not the SERVICE name.
For example, in RDO, the package is
"openstack-designate-pool-manager" but the service is
"designate-pool-manager".

Additionally, the package name for "designate-pool-manager" is
"designate-pool-manager" in Ubuntu Cloud Archive [1]. Not
"openstack-designate-pool-manager".

[1]: http://ubuntu-cloud.archive.canonical.com/ubuntu/dists/xenial-updates/newton/main/binary-amd64/Packages

Change-Id: I1d0b9b66b7fb5ec97d0992c2efd58b63359d364d
2016-07-04 22:41:23 -04:00
Enrique Garcia 15eeb0faa6 Package "openstack-designate-common" for RedHat
Closes-Bug: #1579941
Change-Id: Ic9e50ae2aaf4491a3c36b1e467af4cdd281f12ec
2016-05-10 06:25:35 +00:00
Arnoud de Jonge d3df6fdfd9 Added Designate Pool Manager
Added classes and defines to manage the Designate Pool Manager.

Change-Id: I52c3789394bc8719c4251abd13e489b47111f0f4
2016-02-09 16:45:25 +00:00
Xingchao Yu c3d6ea6451 Add designate::mdns class
This patch is aim to add a new class designate::mdns for managing
designate Mini Dns service.

Change-Id: Iafd145b41c3e2202f3656084d365f98e6daee585
Closes-Bug: #1486301
2016-02-01 10:14:47 +08:00
Alex Schultz af9f5be5e6 Support of PyMySQL driver for MySQL backend
This change adds the ability to use the python-pymysql library as a
backend for MySQL connections. This change also updates the acceptance
test to leverage the pymysql driver.

Change-Id: I9730266163166a9f75f68e25a26c6dcbf38fcea8
2016-01-06 23:08:57 -07:00
Nate Potter f5c5f88eed Allow customization of db sync command line
Add parameter to designate::db::sync class to allow end
users to add command line parameters to the db sync command.

Change-Id: Iae224e97d91ee24e0aae1b79330f0906ff516508
Partial-bug: #1472740
2015-11-14 14:43:35 +00:00
Xiaohua Yuan cecf224184 Add notification related parameters to designate
This patch is aim to following params in designate::init

 - notification_driver
 - notification_topics

Change-Id: I92bea9449fbeee4f0cee53665a4037c2861d276f
Closes-Bug: #1481552
2015-08-04 19:13:12 -07:00
Clayton O'Neill 94107a2d67 Add PowerDNS backend
This adds configuration for configuring Designate to use the PowerDNS
backend, creating the database PowerDNS and Designate share and also
installing PowerDNS.  This does not configure PowerDNS itself, aside
from installing it.

Change-Id: I0607bc24023bdfefa7fd40b8d25a4f3bdc468c9b
2015-03-23 14:02:46 +00:00
Clayton O'Neill e1cfb0536d Fixup Juno mysql configuration
The config parameter has changed from storage:sqlalchemy/database_conection to just
storage:sqlalchemy/connection.

The dbinit command no longer exists, and the db sync command has been
renamed.

Change-Id: I69f529717de04ee0084188a7f94dab26bc120e2f
2015-02-15 15:12:28 +00:00
Sebastien Badia cd3a726b9f Reconfigure dnspath to a standard directory
named/data is not strandard, let's switch to the application directory,
(bind9 for the backend used) (designate also support pdns).

https://github.com/openstack/designate/blob/master/etc/designate/designate.conf.sample#L12

Change-Id: I7229295c8282cf6b03e18cdebafa3de83b61b784
2014-11-02 17:43:40 +01:00
Sebastien Badia d229b0f2bd Introduce Debian OS support, various fixes
* Fix designate package name require, openstack-designate is the final
  package name, designate-common name is override by params class.
* Remove designate-common dependency on central/sink/api services.
* Fix designate::api/keystone_user default user.

Change-Id: I441565d39ba5d425c6b93db071237a85f1eb4b1f
2014-11-02 17:42:04 +01:00
Xingchao Yu 77f6823b31 Fix lint error and warnings
use rake lint fix existing errors and warnings
2013-10-18 16:18:57 +08:00
Xingchao Yu 23f5954f97 Add designate::dns class
This class is aim to configure designate settings in dns service.
Currently has been tested in bind.
2013-10-16 11:43:24 +08:00
Xingchao Yu d16e9090c7 update params and readme info 2013-10-15 11:41:04 +08:00
Xingchao Yu ad760fac29 Add state_path default value 2013-09-26 14:15:29 +08:00
Xingchao Yu b4814ca4f6 Add dbinit_command 2013-09-26 10:09:33 +08:00
Xingchao Yu bbdbc64bb4 Init commit to do basic setting 2013-09-25 22:22:17 +08:00