summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2010-09-23 23:38:15 +0000
committerSol Jerome <sol.jerome@gmail.com>2010-09-26 15:27:08 -0500
commit4106ea78c949e8c52f904c6791f4041d84c54b81 (patch)
tree9e3051e7c54ee15c5e522cf6f2a50bc85740b62e /doc
parent46d0a9670763f6c8673adad35be3e110c05ec7af (diff)
downloadbcfg2-4106ea78c949e8c52f904c6791f4041d84c54b81.tar.gz
bcfg2-4106ea78c949e8c52f904c6791f4041d84c54b81.tar.bz2
bcfg2-4106ea78c949e8c52f904c6791f4041d84c54b81.zip
doc: Remove old BB plugin example
Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6066 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'doc')
-rw-r--r--doc/server/plugins/generators/tgenshi/index.txt43
1 files changed, 0 insertions, 43 deletions
diff --git a/doc/server/plugins/generators/tgenshi/index.txt b/doc/server/plugins/generators/tgenshi/index.txt
index 560941cc7..cd9bcf152 100644
--- a/doc/server/plugins/generators/tgenshi/index.txt
+++ b/doc/server/plugins/generators/tgenshi/index.txt
@@ -86,49 +86,6 @@ Produces:
This flexibility provides the ability to build much more compact and
succinct definitions of configuration contents than Cfg can.
-Templating Access Data
-======================
-
-These examples depend on the :ref:`server-plugins-grouping-BB` plugin. The
-BB plugin provides additional data about users that have been allocated
-nodes. It maps in a dictionary of user priviledges to client metadata
-instances. Each of these plugins use this data. On this system, node
-allocations map to sudo and root access.
-
-``/var/lib/bcfg2/TGenshi/etc/sudoers/template.newtxt``::
-
- # /etc/sudoers
- #
- # This file MUST be edited with the 'visudo' command as root.
- #
- # See the man page for details on how to write a sudoers file.
- # Host alias specification
-
- # User alias specification
- User_Alias ADMIN =
- ${','.join(metadata.BB['users'].keys())},admin1,admin2
- User_Alias IMAGERS = user1,user2,user3
-
- # Cmnd alias specification
- Cmnd_Alias SYSTEMIMAGER = /usr/sbin/getimage [A-z]* [A-z]*
-
- # Defaults
-
- Defaults !lecture,tty_tickets,!fqdn
-
- # User privilege specification
- root ALL=(ALL) ALL
- IMAGERS login=SYSTEMIMAGER
-
- # Members of the admin group may gain root privileges
- ADMIN ALL=(ALL) ALL
-
-``/var/lib/bcfg2/TGenshi/root/.ssh/authorized_keys/template.newtxt``::
-
- {% for user in metadata.BB['users'] %}
- ${"\n".join(metadata.BB['users'][user])}
- {% end %}
-
File permissions
================