Permalink
Browse files

Don't use top scope variable now, as we don't use an ENC yet

  • Loading branch information...
1 parent 5e3ce66 commit be578139139b9ba172c581b03c237336bf89f2fc Marc Remy committed Apr 3, 2013
Showing with 14 additions and 14 deletions.
  1. +14 −14 manifests/params.pp
View
@@ -9,33 +9,33 @@
case $::osfamily {
'RedHat': {
- $omsa_url_base = $::dell_omsa_url_base ? {
+ $omsa_url_base = $dell_omsa_url_base ? {
'' => 'http://linux.dell.com/repo/hardware/',
- default => $::dell_omsa_url_base,
+ default => $dell_omsa_url_base,
}
- $omsa_url_args_indep = $::dell_omsa_url_args_indep ? {
+ $omsa_url_args_indep = $dell_omsa_url_args_indep ? {
'' => 'osname=el$releasever&basearch=$basearch&native=1&dellsysidpluginver=$dellsysidpluginver',
- default => $::dell_omsa_url_args_indep,
+ default => $dell_omsa_url_args_indep,
}
- $omsa_url_args_specific = $::dell_omsa_url_args_specific ? {
+ $omsa_url_args_specific = $dell_omsa_url_args_specific ? {
'' => 'osname=el$releasever&basearch=$basearch&native=1&sys_ven_id=$sys_ven_id&sys_dev_id=$sys_dev_id&dellsysidpluginver=$dellsysidpluginver',
- default => $::dell_omsa_url_args_specific,
+ default => $dell_omsa_url_args_specific,
}
}
'Debian': {
- $omsa_url_base = $::dell_omsa_url_base ? {
+ $omsa_url_base = $dell_omsa_url_base ? {
'' => 'http://linux.dell.com/repo/community/deb/',
- default => $::dell_omsa_url_base,
+ default => $dell_omsa_url_base,
}
}
default: { fail("Unsupported OS family: ${::osfamily}") }
}
- $omsa_version = $::dell_omsa_version ? {
+ $omsa_version = $dell_omsa_version ? {
'' => $::productname ? {
'PowerEdge 1750' => 'OMSA_6.1',
'PowerEdge 1850' => 'OMSA_5.5',
@@ -46,17 +46,17 @@
default => 'OMSA_5.4',
},
'latest' => 'latest',
- default => "OMSA_${::dell_omsa_version}",
+ default => "OMSA_${dell_omsa_version}",
}
- $customplugins = $::dell_customplugins ? {
+ $customplugins = $dell_customplugins ? {
'' => '/usr/local/src',
- default => $::dell_customplugins,
+ default => $dell_customplugins,
}
- $check_warranty_revision = $::dell_check_warranty_revision ? {
+ $check_warranty_revision = $dell_check_warranty_revision ? {
'' => '42d157c57b1247e651021098b278adf14e468805',
- default => $::dell_check_warranty_revision,
+ default => $dell_check_warranty_revision,
}
}

0 comments on commit be57813

Please sign in to comment.