 4c2be74083
			
		
	
	
		4c2be74083
		
	
	
	
	
		
			
			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.
		
			
				
	
	
		
			41 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| forge "http://forge.puppetlabs.com"
 | |
| 
 | |
| # Modules from the Puppet Forge
 | |
| # Note the versions are all set to :latest but after you've 
 | |
| # installed you should change them to the exact version you want
 | |
| mod "puppetlabs/inifile", :latest
 | |
| mod "puppetlabs/stdlib", :latest
 | |
| mod "puppetlabs/concat", :latest
 | |
| mod "puppetlabs/ntp", :latest
 | |
| mod "saz/ssh", :latest
 | |
| mod "puppetlabs/postgresql",  '4.5.0'
 | |
| mod "puppet/stash",           '1.3.0'
 | |
| mod "puppetlabs/java",        '1.4.1'
 | |
| 
 | |
| #An example of using a specific forge module version instead of latest
 | |
| #Notice the addition of single quotes
 | |
| #mod "puppetlabs/inifile", '1.3.0'
 | |
| 
 | |
| # Modules from Github using various references
 | |
| # Further examples: https://github.com/puppetlabs/r10k/blob/master/doc/puppetfile.mkd#examples
 | |
| # update the tag to the most current release when implementing
 | |
| mod 'hiera',
 | |
|   :git => 'https://github.com/hunner/puppet-hiera',
 | |
|   :tag => '1.3.1'
 | |
| 
 | |
| mod 'gitlab',
 | |
|   :git => 'https://github.com/vshn/puppet-gitlab',
 | |
|   :ref => '00397b86dfb3487d9df768cbd3698d362132b5bf'
 | |
| 
 | |
| mod 'r10k',
 | |
|   :git => 'https://github.com/acidprime/r10k',
 | |
|   :tag => 'v3.1.1'
 | |
| 
 | |
| 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'
 |