non idempotent tasks
Pierre-Yves Chibon
pingou at pingoured.fr
Mon Jun 30 17:05:52 UTC 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20140630/bbae3845/attachment.sig>
More information about the infrastructure
mailing list