updated site and role files
This commit is contained in:
		
							parent
							
								
									d61f2fb360
								
							
						
					
					
						commit
						ea7050052e
					
				@ -24,16 +24,6 @@ File { backup => false }
 | 
				
			|||||||
# Puppet Enterprise console and External Node Classifiers (ENC's).
 | 
					# Puppet Enterprise console and External Node Classifiers (ENC's).
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# For more on node definitions, see: https://puppet.com/docs/puppet/latest/lang_node_definitions.html
 | 
					# For more on node definitions, see: https://puppet.com/docs/puppet/latest/lang_node_definitions.html
 | 
				
			||||||
node default {
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    if $trusted['extentions']['pp_role'] {
 | 
					 | 
				
			||||||
      include ($trusted['extentions']['pp_role'])
 | 
					 | 
				
			||||||
    } else {
 | 
					 | 
				
			||||||
      notify {"WARN: Unable to apply $trusted['extentions']['pp_role'], applying base role instead":}
 | 
					 | 
				
			||||||
      include "roles::node"
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
node 'puppet' {
 | 
					node 'puppet' {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    include role::puppetserver
 | 
					    include role::puppetserver
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user