blob: 479f8bfce667ff0a0b39f93901f7650ae9f583b4 (
plain)
1
2
3
4
5
6
7
8
9
|
<%- require 'digest' -%>
[admins]
admin = <%= @admin_hash %>
[couchdb]
<%- # uuid uniquely identifies this couchdb instance. if not set, couchdb will set a random one
# but we want a stable one so that this config file doesn't change all the time.
# Md5 of hostname and ipaddress seems reasonable, but it could be based on anything. -%>
uuid = <%= Digest::MD5.hexdigest(Facter.value("hostname") + Facter.value("ipaddress")) %>
|