mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	puppet: Do not include postgresql_common for all PostgreSQL clients.
It pulls in the server.
(cherry picked from commit 80ef38757a)
			
			
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							96dfec1f1d
						
					
				
				
					commit
					791969de3e
				
			@@ -1,6 +1,12 @@
 | 
			
		||||
class zulip::postgresql_client {
 | 
			
		||||
  include zulip::postgresql_common
 | 
			
		||||
  package { "postgresql-client-${zulip::postgresql_common::version}":
 | 
			
		||||
    ensure => installed,
 | 
			
		||||
  $version = zulipconf('postgresql', 'version', undef)
 | 
			
		||||
  if $version != undef {
 | 
			
		||||
    package { "postgresql-client-${version}":
 | 
			
		||||
      ensure => installed,
 | 
			
		||||
    }
 | 
			
		||||
  } else {
 | 
			
		||||
    package { 'postgresql-client':
 | 
			
		||||
      ensure => installed,
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user