Browse Source

Syntax check fixes

Change-Id: I350559661a4bca8f9b6b748fd8906b795d6af078
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
changes/57/174357/1
Bogdan Dobrelya 4 years ago
parent
commit
fe5a1a828e

+ 5
- 1
deployment_scripts/puppet/modules/pcs_fencing/manifests/fencing.pp View File

@@ -33,7 +33,11 @@ define pcs_fencing::fencing (
33 33
         'score'   => '100',
34 34
         'boolean' => '',
35 35
         'expressions' => [
36
-          {'attribute'=>"#uname",'operation'=>'ne','value'=>$::pacemaker_hostname},
36
+          {
37
+            'attribute'=> '#uname',
38
+            'operation'=>'ne',
39
+            'value'=>$::pacemaker_hostname,
40
+          },
37 41
         ],
38 42
       },
39 43
     ],

+ 2
- 2
deployment_scripts/puppet/modules/pcs_fencing/manifests/fencing_primitives.pp View File

@@ -8,10 +8,10 @@ class pcs_fencing::fencing_primitives (
8 8
 ) {
9 9
   case $::osfamily {
10 10
     'RedHat': {
11
-       $names = filter_hash($nodes, 'fqdn')
11
+      $names = filter_hash($nodes, 'fqdn')
12 12
     }
13 13
     'Debian': {
14
-       $names = filter_hash($nodes, 'name')
14
+      $names = filter_hash($nodes, 'name')
15 15
     }
16 16
     default: {
17 17
       fail("Unsupported osfamily: ${::osfamily} operatingsystem: ${::operatingsystem}, module ${module_name} only support osfamily RedHat and Debian")

Loading…
Cancel
Save