summaryrefslogtreecommitdiff
path: root/gitano-admin/rules/defines.lace
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2014-02-19 10:18:24 +0000
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2014-02-19 10:18:24 +0000
commit177c7efb7a048b0161c34fa5255d0f82af300680 (patch)
tree0c8e7fb0527f85c6fd37e14f4b9449b4c23d15d3 /gitano-admin/rules/defines.lace
parent2963562ec73e7b6a3994255358502a3cac039b50 (diff)
parent1fce00cc9c87b86055f116547d14fc94cc7842ea (diff)
downloadtrove-setup-177c7efb7a048b0161c34fa5255d0f82af300680.tar.gz
Merge branch 'baserock/richardipsum/gitano_http'
This series contains the changes needed to let trove use gitano's new http services The main changes: * trove-early-setup now generates an ssl certificate so we can do https * there are two lighttpd processes: one for gitano and one for morph cache server. We do this because gitano needs to run as the git user and morph cache server needs to run as the cache user The ruleset has also been updated to allow anonymous clones over http Reviewed by: Richard Maw
Diffstat (limited to 'gitano-admin/rules/defines.lace')
-rw-r--r--gitano-admin/rules/defines.lace4
1 files changed, 3 insertions, 1 deletions
diff --git a/gitano-admin/rules/defines.lace b/gitano-admin/rules/defines.lace
index ab49034..380948a 100644
--- a/gitano-admin/rules/defines.lace
+++ b/gitano-admin/rules/defines.lace
@@ -13,13 +13,15 @@
# User/group related
define is_admin group gitano-admin
define is_owner owner ${user}
+define is_anonymous user gitano/anonymous
define if_asanother as_user ~.
# Self-related operations
define op_whoami operation whoami
define op_sshkey operation sshkey
-define op_self anyof op_whoami op_sshkey
+define op_passwd operation passwd
+define op_self anyof op_whoami op_sshkey op_passwd
# Admin-related operations