Skip to content

Commit

Permalink
Bump default version to 1.29.4
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Feb 28, 2024
1 parent de7a2de commit c95e904
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
$manage_archive = true
$manage_user = true
$archive_install_dir = '/usr/local/opt/telegraf'
$archive_version = '1.17.2'
$archive_version = '1.29.4'
$archive_location = "https://dl.influxdata.com/telegraf/releases/telegraf-${archive_version}_darwin_amd64.tar.gz"
$repo_location = 'https://repos.influxdata.com/'
$service_enable = true
Expand Down Expand Up @@ -76,7 +76,7 @@
$manage_archive = true
$manage_user = true
$archive_install_dir = '/opt/telegraf'
$archive_version = '1.15.2'
$archive_version = '1.29.4'
$archive_location = "https://dl.influxdata.com/telegraf/releases/telegraf-${archive_version}_linux_amd64.tar.gz"
$repo_location = 'https://repos.influxdata.com/'
$service_enable = true
Expand Down
8 changes: 4 additions & 4 deletions spec/classes/telegraf_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
config_file_mode: '0640',
config_folder_mode: '0770',
archive_install_dir: '/usr/local/opt/telegraf',
archive_version: '1.17.2'
archive_version: '1.29.4'
)
end
when 'FreeBSD'
Expand All @@ -149,7 +149,7 @@
config_folder_mode: '0770',
repo_location: 'https://repos.influxdata.com/',
archive_install_dir: '/opt/telegraf',
archive_location: 'https://dl.influxdata.com/telegraf/releases/telegraf-1.15.2_linux_amd64.tar.gz'
archive_location: 'https://dl.influxdata.com/telegraf/releases/telegraf-1.29.4_linux_amd64.tar.gz'
)
end
else
Expand Down Expand Up @@ -201,13 +201,13 @@
it { is_expected.to contain_file('/var/log/telegraf').with_ensure('directory') }
it { is_expected.to contain_file('/etc/systemd/system/telegraf.service') }
when 'Darwin'
it { is_expected.to contain_archive('/tmp/telegraf-1.17.2.tar.gz') }
it { is_expected.to contain_archive('/tmp/telegraf-1.29.4.tar.gz') }
it { is_expected.to contain_file('/usr/local/bin').with_ensure('directory') }
it { is_expected.to contain_file('/usr/local/etc').with_ensure('directory') }
it { is_expected.to contain_file('/usr/local/opt').with_ensure('directory') }
it { is_expected.to contain_file('/usr/local/var').with_ensure('directory') }
it { is_expected.to contain_file('/usr/local/var/log').with_ensure('directory') }
it { is_expected.to contain_file('/usr/local/opt/telegraf-1.17.2').with_ensure('directory') }
it { is_expected.to contain_file('/usr/local/opt/telegraf-1.29.4').with_ensure('directory') }
it { is_expected.to contain_file('/usr/local/var/log/telegraf').with_ensure('link') }
it { is_expected.to contain_file('/usr/local/bin/telegraf').with_ensure('link') }
it { is_expected.to contain_file('/usr/local/etc/telegraf').with_ensure('link') }
Expand Down
2 changes: 1 addition & 1 deletion spec/hieradata/test/suse.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
telegraf::archive_install_dir: '/opt/telegraf'
telegraf::archive_location: 'https://dl.influxdata.com/telegraf/releases/telegraf-1.15.2_linux_amd64.tar.gz'
telegraf::archive_location: 'https://dl.influxdata.com/telegraf/releases/telegraf-1.29.4_linux_amd64.tar.gz'

0 comments on commit c95e904

Please sign in to comment.