Skip to content

Commit bcf2144

Browse files
authored
Merge pull request #4 from modolabs/feature/update-gpg-key
Update Influx GPG Key
2 parents 074d1a4 + 5e14ddb commit bcf2144

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

manifests/init.pp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@
7070
String $service_restart = $chronograf::params::service_restart,
7171

7272
) inherits chronograf::params {
73-
require chronograf::repo
73+
if $manage_repo {
74+
require chronograf::repo
75+
}
7476
include chronograf::install
7577
include chronograf::config
7678

manifests/params.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
$service_restart = "service ${service_name} restart"
1616
$pid_file = '/var/run/chronograf/chronograf.pid'
1717
$log_level = 'info'
18+
$manage_repo = true
1819
}
1920
default: {
2021
fail( "Unsupported platform: ${::osfamily}" )

manifests/repo.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
baseurl => 'https://repos.influxdata.com/rhel/$releasever/$basearch/stable',
1313
enabled => 1,
1414
gpgcheck => 1,
15-
gpgkey => 'https://repos.influxdata.com/influxdb.key',
15+
gpgkey => 'https://repos.influxdata.com/influxdata-archive_compat.key',
1616
}
1717
}
1818

0 commit comments

Comments
 (0)