Skip to content
Browse files

puppet-lint on params.pp

  • Loading branch information...
1 parent 93c8527 commit 5d04a21afc7b2cc2f08c27080034fb86e22423b9 Marc Remy committed Mar 13, 2013
Showing with 21 additions and 21 deletions.
  1. +21 −21 manifests/params.pp
View
42 manifests/params.pp
@@ -6,43 +6,43 @@
#
class dell::params {
- $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,
}
- $omsa_version = $dell_omsa_version ? {
+ $omsa_version = $::dell_omsa_version ? {
'' => $::productname ? {
- 'PowerEdge 1750' => 'OMSA_6.1',
- 'PowerEdge 1850' => 'OMSA_5.5',
- 'PowerEdge 1950' => 'OMSA_6.1',
- 'PowerEdge 2950' => 'OMSA_5.4',
- 'PowerEdge R610' => 'OMSA_6.4',
- 'PowerEdge R620' => 'OMSA_7.2',
- default => 'OMSA_5.4',
- },
+ 'PowerEdge 1750' => 'OMSA_6.1',
+ 'PowerEdge 1850' => 'OMSA_5.5',
+ 'PowerEdge 1950' => 'OMSA_6.1',
+ 'PowerEdge 2950' => 'OMSA_5.4',
+ 'PowerEdge R610' => 'OMSA_6.4',
+ 'PowerEdge R620' => 'OMSA_7.2',
+ default => 'OMSA_5.4',
+ },
'latest' => 'latest',
- default => "OMSA_$dell_omsa_version",
+ default => "OMSA_${::dell_omsa_version}",
}
- $customplugins = $dell_customplugins ? {
- '' => '/usr/local/src',
- default => $dell_customplugins,
+ $customplugins = $::dell_customplugins ? {
+ '' => '/usr/local/src',
+ 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 5d04a21

Please sign in to comment.
Something went wrong with that request. Please try again.