Dzahn has submitted this change and it was merged.

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


cpufrequtils: lint clean

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

Approvals:
  Guido.iaquinti: Looks good to me, but someone else must approve
  jenkins-bot: Verified
  Dzahn: Looks good to me, approved



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: merged
Gerrit-Change-Id: Ibb87b35e6ad5ce49ce5d3146aee3229c14486faf
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya <[email protected]>
Gerrit-Reviewer: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: Andrew Bogott <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: Guido.iaquinti <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to