aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJamie McClelland <jm@mayfirst.org>2011-03-29 22:08:13 -0400
committerJamie McClelland <jm@mayfirst.org>2011-03-29 22:08:13 -0400
commite249ba513bc97b06f7808373294c249aa14bbda1 (patch)
tree7fe8d3159a6fac3157e0802ef1309033f1758166 /templates
parente5ca936850b4a7cbcbbb003a1795d23c05760e17 (diff)
downloadpuppet-monkeysphere-e249ba513bc97b06f7808373294c249aa14bbda1.tar.gz
puppet-monkeysphere-e249ba513bc97b06f7808373294c249aa14bbda1.tar.bz2
adding ability for monkeysphere user setup
Diffstat (limited to 'templates')
-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 -%>