Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

puppet-lint on params.pp

  • Loading branch information...
commit 5d04a21afc7b2cc2f08c27080034fb86e22423b9 1 parent 93c8527
Marc Remy authored March 13, 2013

Showing 1 changed file with 21 additions and 21 deletions. Show diff stats Hide diff stats

  1. 42  manifests/params.pp
42  manifests/params.pp
@@ -6,43 +6,43 @@
6 6
 #
7 7
 class dell::params {
8 8
 
9  
-  $omsa_url_base = $dell_omsa_url_base ? {
  9
+  $omsa_url_base = $::dell_omsa_url_base ? {
10 10
     ''      => 'http://linux.dell.com/repo/hardware/',
11  
-    default => $dell_omsa_url_base,
  11
+    default => $::dell_omsa_url_base,
12 12
   }
13 13
 
14  
-  $omsa_url_args_indep = $dell_omsa_url_args_indep ? {
  14
+  $omsa_url_args_indep = $::dell_omsa_url_args_indep ? {
15 15
     ''      => 'osname=el$releasever&basearch=$basearch&native=1&dellsysidpluginver=$dellsysidpluginver',
16  
-    default => $dell_omsa_url_args_indep,
  16
+    default => $::dell_omsa_url_args_indep,
17 17
   }
18 18
 
19  
-  $omsa_url_args_specific = $dell_omsa_url_args_specific ? {
  19
+  $omsa_url_args_specific = $::dell_omsa_url_args_specific ? {
20 20
     ''      => 'osname=el$releasever&basearch=$basearch&native=1&sys_ven_id=$sys_ven_id&sys_dev_id=$sys_dev_id&dellsysidpluginver=$dellsysidpluginver',
21  
-    default => $dell_omsa_url_args_specific,
  21
+    default => $::dell_omsa_url_args_specific,
22 22
   }
23 23
 
24  
-  $omsa_version = $dell_omsa_version ? {
  24
+  $omsa_version = $::dell_omsa_version ? {
25 25
           '' => $::productname ? {
26  
-               'PowerEdge 1750' => 'OMSA_6.1',
27  
-               'PowerEdge 1850' => 'OMSA_5.5',
28  
-               'PowerEdge 1950' => 'OMSA_6.1',
29  
-               'PowerEdge 2950' => 'OMSA_5.4',
30  
-               'PowerEdge R610' => 'OMSA_6.4',
31  
-               'PowerEdge R620' => 'OMSA_7.2',
32  
-                        default => 'OMSA_5.4',
33  
-             },
  26
+            'PowerEdge 1750' => 'OMSA_6.1',
  27
+            'PowerEdge 1850' => 'OMSA_5.5',
  28
+            'PowerEdge 1950' => 'OMSA_6.1',
  29
+            'PowerEdge 2950' => 'OMSA_5.4',
  30
+            'PowerEdge R610' => 'OMSA_6.4',
  31
+            'PowerEdge R620' => 'OMSA_7.2',
  32
+            default          => 'OMSA_5.4',
  33
+    },
34 34
     'latest' => 'latest',
35  
-    default  => "OMSA_$dell_omsa_version",
  35
+    default  => "OMSA_${::dell_omsa_version}",
36 36
   }
37 37
 
38  
-  $customplugins = $dell_customplugins ? {
39  
-         '' => '/usr/local/src',
40  
-    default => $dell_customplugins,
  38
+  $customplugins = $::dell_customplugins ? {
  39
+    ''      => '/usr/local/src',
  40
+    default => $::dell_customplugins,
41 41
   }
42 42
 
43  
-  $check_warranty_revision = $dell_check_warranty_revision ? {
  43
+  $check_warranty_revision = $::dell_check_warranty_revision ? {
44 44
     ''      => '42d157c57b1247e651021098b278adf14e468805',
45  
-    default => $dell_check_warranty_revision,
  45
+    default => $::dell_check_warranty_revision,
46 46
   }
47 47
 
48 48
 }

0 notes on commit 5d04a21

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