mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			315 B
		
	
	
	
		
			Puppet
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			315 B
		
	
	
	
		
			Puppet
		
	
	
	
	
	
# @summary Install a static hook file
 | 
						|
#
 | 
						|
define kandra::hooks::file() {
 | 
						|
  include zulip::hooks::base
 | 
						|
 | 
						|
  file { "/etc/zulip/hooks/${title}":
 | 
						|
    ensure => file,
 | 
						|
    mode   => '0755',
 | 
						|
    owner  => 'zulip',
 | 
						|
    group  => 'zulip',
 | 
						|
    source => "puppet:///modules/kandra/hooks/${title}",
 | 
						|
    tag    => ['hooks'],
 | 
						|
  }
 | 
						|
}
 |