Re: non idempotent tasks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 30, 2014 at 10:41:42AM -0600, Kevin Fenzi wrote:
> pkgdb
> 07.09.52	pkgdb01.phx2.fedoraproject.org	Jun 30 2014 07:13:00	4	CHECK_DIFF:CHANGED	copy sundry pkgdb configuration	task_userid:root
> 07.09.52	pkgdb01.stg.phx2.fedoraproject.org	Jun 30 2014 07:13:00	4	CHECK_DIFF:CHANGED	copy sundry pkgdb configuration	task_userid:root
> 07.09.52	pkgdb02.phx2.fedoraproject.org	Jun 30 2014 07:13:01	4	CHECK_DIFF:CHANGED	copy sundry pkgdb configuration	task_userid:root
[...]
> nuancier
> 06.35.07	nuancier01.phx2.fedoraproject.org	Jun 30 2014 06:37:38	4	CHECK_DIFF:CHANGED	copy sundry nuancier configuration	task_userid:root
> 06.35.07	nuancier01.stg.phx2.fedoraproject.org	Jun 30 2014 06:37:38	4	CHECK_DIFF:CHANGED	copy sundry nuancier configuration	task_userid:root
> 06.35.07	nuancier02.phx2.fedoraproject.org	Jun 30 2014 06:37:38	4	CHECK_DIFF:CHANGED	copy sundry nuancier configuration	task_userid:root
> 06.35.07	nuancier02.stg.phx2.fedoraproject.org	Jun 30 2014 06:37:38	4	CHECK_DIFF:CHANGED	copy sundry nuancier configuration	task_userid:root

These are "normal".
Both application have an admin DB user and a regular DB user. What the playbook
does is:
- set up pkgdb/nuancier with the admin DB user
- create the DB or create new tables, or nothing if it is all already there
- update the configuration files to use the regular DB user so that this is the
  under-priviledge user used by the application in normal condition

I guess we could:
- Drop step 1 and 2
or
- Make step 1 and 2 rely on a CLI argument


Pierre

Attachment: pgpFuDajg9J7E.pgp
Description: PGP signature

_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux