|
132 | 132 | config_file_mode: '0640',
|
133 | 133 | config_folder_mode: '0770',
|
134 | 134 | archive_install_dir: '/usr/local/opt/telegraf',
|
135 |
| - archive_version: '1.17.2' |
| 135 | + archive_version: '1.29.4' |
136 | 136 | )
|
137 | 137 | end
|
138 | 138 | when 'FreeBSD'
|
|
149 | 149 | config_folder_mode: '0770',
|
150 | 150 | repo_location: 'https://repos.influxdata.com/',
|
151 | 151 | archive_install_dir: '/opt/telegraf',
|
152 |
| - archive_location: 'https://dl.influxdata.com/telegraf/releases/telegraf-1.15.2_linux_amd64.tar.gz' |
| 152 | + archive_location: 'https://dl.influxdata.com/telegraf/releases/telegraf-1.29.4_linux_amd64.tar.gz' |
153 | 153 | )
|
154 | 154 | end
|
155 | 155 | else
|
|
201 | 201 | it { is_expected.to contain_file('/var/log/telegraf').with_ensure('directory') }
|
202 | 202 | it { is_expected.to contain_file('/etc/systemd/system/telegraf.service') }
|
203 | 203 | when 'Darwin'
|
204 |
| - it { is_expected.to contain_archive('/tmp/telegraf-1.17.2.tar.gz') } |
| 204 | + it { is_expected.to contain_archive('/tmp/telegraf-1.29.4.tar.gz') } |
205 | 205 | it { is_expected.to contain_file('/usr/local/bin').with_ensure('directory') }
|
206 | 206 | it { is_expected.to contain_file('/usr/local/etc').with_ensure('directory') }
|
207 | 207 | it { is_expected.to contain_file('/usr/local/opt').with_ensure('directory') }
|
208 | 208 | it { is_expected.to contain_file('/usr/local/var').with_ensure('directory') }
|
209 | 209 | it { is_expected.to contain_file('/usr/local/var/log').with_ensure('directory') }
|
210 |
| - it { is_expected.to contain_file('/usr/local/opt/telegraf-1.17.2').with_ensure('directory') } |
| 210 | + it { is_expected.to contain_file('/usr/local/opt/telegraf-1.29.4').with_ensure('directory') } |
211 | 211 | it { is_expected.to contain_file('/usr/local/var/log/telegraf').with_ensure('link') }
|
212 | 212 | it { is_expected.to contain_file('/usr/local/bin/telegraf').with_ensure('link') }
|
213 | 213 | it { is_expected.to contain_file('/usr/local/etc/telegraf').with_ensure('link') }
|
|
0 commit comments