mirror of
				https://github.com/krislamo/puppet-fluentd
				synced 2025-10-31 01:18:35 +00:00 
			
		
		
		
	This reverts commit 51b5f0f640.
This is needed to make sure the puppet autoloader can load the class  while running tests.
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			421 B
		
	
	
	
		
			Puppet
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			421 B
		
	
	
	
		
			Puppet
		
	
	
	
	
	
| # Configure package
 | |
| #
 | |
| class fluentd::config inherits fluentd {
 | |
| 
 | |
|   file { '/etc/td-agent/td-agent.conf' :
 | |
|     ensure  => file,
 | |
|     owner   => 'root',
 | |
|     group   => 'root',
 | |
|     source  => "puppet:///modules/fluentd/td-agent.conf",
 | |
|     notify  => Class['fluentd::service'],
 | |
|   }
 | |
| 
 | |
|   file {'/etc/td-agent/conf.d':
 | |
|     ensure  => 'directory',
 | |
|     owner   => 'td-agent',
 | |
|     group   => 'td-agent',
 | |
|     mode    => '0750',
 | |
|   }
 | |
| 
 | |
| }
 |