From 4c2be74083287516b72ab4f3ccaaf317ea7a2eb0 Mon Sep 17 00:00:00 2001 From: Nick Walker Date: Wed, 11 Nov 2015 13:41:34 -0800 Subject: Add support for code manager which will replace zack r10k Add pltraing-rbac module Added a new profile for code_manager that: - creates a service users for code manager - creates a token for that service user - creates a hook on a git server using the token Turns out that the file function in puppet cannot read files in /root. The pe-puppet user needs read permissions on the file and traversal on the directory which giving to /root would probably be a bad idea. So, I just put the file containing the token in /etc/puppetlabs/puppetserver since I'm not sure where would be better. --- Puppetfile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Puppetfile') diff --git a/Puppetfile b/Puppetfile index ac90e14..6bc31f8 100644 --- a/Puppetfile +++ b/Puppetfile @@ -34,3 +34,7 @@ mod 'r10k', mod 'gms', :git => 'https://github.com/npwalker/abrader-gms', :branch => 'gitlab_disable_ssl_verify_support' + +mod 'pltraining-rbac', + :git => 'https://github.com/puppetlabs/pltraining-rbac', + :ref => '2f60e1789a721ce83f8df061e13f8bf81cd4e4ce' -- cgit v1.2.3