diff options
author | Micah Anderson <micah@leap.se> | 2013-11-28 11:03:20 -0500 |
---|---|---|
committer | Micah Anderson <micah@leap.se> | 2013-11-28 11:03:20 -0500 |
commit | 0ee2115516eb8b79ad6ff8711b860d9da60e0f2a (patch) | |
tree | 7c876b3cd691968e0cdc329b0ecf04c5ff20d419 /puppet/modules/site_couchdb/files/designs/identities.json | |
parent | bba78a580f7c859d3d0d726e291ad628d7e835d3 (diff) |
remove duplicate couchdb design document json files
Change-Id: I5b3d073aec0522cf464ff41905be1ee326f13197
Diffstat (limited to 'puppet/modules/site_couchdb/files/designs/identities.json')
-rw-r--r-- | puppet/modules/site_couchdb/files/designs/identities.json | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/puppet/modules/site_couchdb/files/designs/identities.json b/puppet/modules/site_couchdb/files/designs/identities.json deleted file mode 100644 index 8cf8c39b..00000000 --- a/puppet/modules/site_couchdb/files/designs/identities.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "_id": "_design/Identity", - "language": "javascript", - "views": { - "by_user_id": { - "map": " function(doc) {\n if ((doc['type'] == 'Identity') && (doc['user_id'] != null)) {\n emit(doc['user_id'], 1);\n }\n }\n", - "reduce": "_sum" - }, - "by_address_and_destination": { - "map": " function(doc) {\n if ((doc['type'] == 'Identity') && (doc['address'] != null) && (doc['destination'] != null)) {\n emit([doc['address'], doc['destination']], 1);\n }\n }\n", - "reduce": "_sum" - }, - "by_address": { - "map": " function(doc) {\n if ((doc['type'] == 'Identity') && (doc['address'] != null)) {\n emit(doc['address'], 1);\n }\n }\n", - "reduce": "_sum" - }, - "pgp_key_by_email": { - "map": " function(doc) {\n if (doc.type != 'Identity') {\n return;\n }\n emit(doc.address, doc.keys[\"pgp\"]);\n }\n" - }, - "disabled": { - "map": " function(doc) {\n if (doc.type != 'Identity') {\n return;\n }\n if (typeof doc.user_id === \"undefined\") {\n emit(doc._id, 1);\n }\n }\n" - }, - "all": { - "map": " function(doc) {\n if (doc['type'] == 'Identity') {\n emit(doc._id, null);\n }\n }\n" - } - }, - "couchrest-hash": "5b0ece9d28b3025d18ea71fddf3a532f" -}
\ No newline at end of file |