Skip to content

Commit

Permalink
don't reassign that variable
Browse files Browse the repository at this point in the history
  • Loading branch information
nate st. germain committed Feb 7, 2019
1 parent 7c70ebf commit 252deca
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
$extra_args = undef
$cloudsight_bin = '/usr/bin/tsagent'
$confdir = '/opt/threatstack/etc'
$disable_auditd = false

case $facts['os']['family'] {
'RedHat': {
$repo_class = '::threatstack::yum'
$gpg_key = 'https://app.threatstack.com/RPM-GPG-KEY-THREATSTACK'
$gpg_key_file = '/etc/pki/rpm-gpg/RPM-GPG-KEY-THREATSTACK'
$gpg_key_file_uri = "file://${gpg_key_file}"
$disable_auditd = false

case $facts['os']['name'] {
'Amazon': {
Expand All @@ -44,12 +44,13 @@
}
}
'Debian': {
$repo_class = '::threatstack::apt'
$repo_url = 'https://pkg.threatstack.com/v2/Ubuntu'
$repo_gpg_id = 'ACCC2B02EA3A2409557B0AB991BB3B3C6EE04BD4'
$release = $facts['os']['distro']['codename']
$repos = 'main'
$gpg_key = 'https://app.threatstack.com/APT-GPG-KEY-THREATSTACK'
$repo_class = '::threatstack::apt'
$repo_url = 'https://pkg.threatstack.com/v2/Ubuntu'
$repo_gpg_id = 'ACCC2B02EA3A2409557B0AB991BB3B3C6EE04BD4'
$release = $facts['os']['distro']['codename']
$repos = 'main'
$gpg_key = 'https://app.threatstack.com/APT-GPG-KEY-THREATSTACK'
$disable_auditd = false
}
default: {
fail("Module ${module_name} does not support ${::operatingsystem}")
Expand Down

0 comments on commit 252deca

Please sign in to comment.