Created
          December 19, 2019 05:25 
        
      - 
      
 - 
        
Save syossan27/3bd236aa4fc5a5af37b018d757b617ba to your computer and use it in GitHub Desktop.  
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | files: | |
| "/etc/yum.repos.d/influxdb.repo" | |
| mode: "00644" | |
| owner: root | |
| group: root | |
| content: | | |
| [influxdb] | |
| name = InfluxDB Repository - RHEL $releasever | |
| baseurl = https://repos.influxdata.com/rhel/7/$basearch/stable | |
| enabled = 1 | |
| gpgcheck = 1 | |
| gpgkey = https://repos.influxdata.com/influxdb.key | |
| container_commands: | |
| 01install: | |
| command: "sudo yum install -y telegraf" | |
| ignoreErrors: true | |
| 02enablereboot: | |
| command: "sudo chkconfig telegraf on" | |
| ignoreErrors: true | |
| 03permission: | |
| command: "sudo usermod -aG docker telegraf" | |
| ignoreErrors: true | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment