aboutsummaryrefslogtreecommitdiff
path: root/templates/authorized_user_ids.erb
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-07-14 10:46:07 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-07-14 10:46:07 -0300
commit86b92a0fe67616d44235745a049d6cb966b58349 (patch)
tree1b7c3ea3c102358f10486b73764da0ff43e4d595 /templates/authorized_user_ids.erb
parentcfe9ef09911bace2287c21a4fb2449139e40df64 (diff)
parent7a21cb925707f04609da9e28fef13873a07e7e3a (diff)
downloadpuppet-monkeysphere-mayfirst.tar.gz
puppet-monkeysphere-mayfirst.tar.bz2
Merge branch 'master' of git://git.mayfirst.org/mfpl/puppet-modules/monkeysphere into mayfirstmayfirst
Conflicts: manifests/init.pp
Diffstat (limited to 'templates/authorized_user_ids.erb')
-rw-r--r--templates/authorized_user_ids.erb6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/authorized_user_ids.erb b/templates/authorized_user_ids.erb
new file mode 100644
index 0000000..9313c6b
--- /dev/null
+++ b/templates/authorized_user_ids.erb
@@ -0,0 +1,6 @@
+# This file is maintained by puppet, changes will be overwritten
+<% if user_ids.is_a? String -%>
+<%= user_ids %>
+<% elsif user_ids.is_a? Array -%>
+<%= user_ids.map { |i| "#{i}" }.join("\n") %>
+<% end -%>