FAQ
Hi,

disclaimer: I'm new to couchdb.
tl;dr: if you know a bit about couchdb, your thoughts regarding an API
extension are very well wanted!

This week I experimented with couchdb and the associated salt returner and
ended submitting a documentation patch:
https://github.com/feth/salt/commit/a5bf2a408be2f66ca568f1218bf5046d769d2434

Thomas Hatch suggest that salt should ship a handier returner out of the
box.

While it is possible that I misunderstood how to use couchdb -then please
correct me!- it seems that the current returner is not practical (requires
using a couchdb database per minion).

I suggest that the database name and the document id be templates and
configurable at runtime.
For instance, one could have something like:

* configuration: couchdb.db: salt-{{ grains['id'] }}
* or run salt '*' module.callable --returner couchdb
--docid_template='foo-{{ jid }}-{{ grains['id'] }}'

Thank you for reading, and cheers !

--
Feth Arezki
https://www.majerti.fr - co-founder

--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupsalt-users @
postedOct 2, '14 at 12:41p
activeOct 2, '14 at 12:41p
posts1
users1

1 user in discussion

Feth AREZKI: 1 post

People

Translate

site design / logo © 2023 Grokbase