Matanya has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/107346


Change subject: cpufrequtils: lint clean
......................................................................

cpufrequtils: lint clean

Change-Id: Ibb87b35e6ad5ce49ce5d3146aee3229c14486faf
---
M modules/cpufrequtils/manifests/init.pp
1 file changed, 25 insertions(+), 25 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/46/107346/1

diff --git a/modules/cpufrequtils/manifests/init.pp 
b/modules/cpufrequtils/manifests/init.pp
index 03988b0..e3b92cf 100644
--- a/modules/cpufrequtils/manifests/init.pp
+++ b/modules/cpufrequtils/manifests/init.pp
@@ -1,32 +1,32 @@
 class cpufrequtils (
-       $governor = 'performance',
+    $governor = 'performance',
 ) {
-       case $::operatingsystem {
-               debian, ubuntu: {
-               }
-               default: {
-                       fail("Module ${module_name} is not supported on 
${::operatingsystem}")
-               }
-       }
+    case $::operatingsystem {
+        debian, ubuntu: {
+        }
+        default: {
+            fail("Module ${module_name} is not supported on 
${::operatingsystem}")
+        }
+    }
 
-       package { 'cpufrequtils':
-               ensure => present;
-       }
+    package { 'cpufrequtils':
+        ensure => present,
+    }
 
-       # start at boot
-       service { 'cpufrequtils':
-               enable => true,
-               require => Package['cpufrequtils'],
-       }
+    # start at boot
+    service { 'cpufrequtils':
+        enable  => true,
+        require => Package['cpufrequtils'],
+    }
 
-       file { '/etc/default/cpufrequtils':
-               content => "GOVERNOR=${governor}\n",
-               notify => Exec['apply cpufrequtils'],
-               require => Package['cpufrequtils'];
-       }
+    file { '/etc/default/cpufrequtils':
+        content => "GOVERNOR=${governor}\n",
+        notify  => Exec['apply cpufrequtils'],
+        require => Package['cpufrequtils'],
+    }
 
-       exec { 'apply cpufrequtils':
-               command => '/etc/init.d/cpufrequtils start',
-               refreshonly => true
-       }
+    exec { 'apply cpufrequtils':
+        command     => '/etc/init.d/cpufrequtils start',
+        refreshonly => true
+    }
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/107346
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibb87b35e6ad5ce49ce5d3146aee3229c14486faf
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to