From 7c85a7d0bc6d12d94c84be226dc2f801e5defb91 Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Tue, 14 Jul 2015 19:23:49 -0700 Subject: [PATCH] Enable arrow alignment lint check Discussion following https://review.openstack.org/#/c/201399/ confirmed that we do want to enforce this check. This patch re-enables the check and fixes lint errors that fail the check. Change-Id: I1d3fd00f025aba1abf9b723ea58c99e8458ee5b6 --- Rakefile | 1 - manifests/init.pp | 10 +++++----- manifests/mirror.pp | 4 ++-- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Rakefile b/Rakefile index 66c2b73..ff1f0d7 100644 --- a/Rakefile +++ b/Rakefile @@ -6,4 +6,3 @@ PuppetLint.configuration.send('disable_80chars') PuppetLint.configuration.send('disable_autoloader_layout') PuppetLint.configuration.send('disable_class_inherits_from_params_class') PuppetLint.configuration.send('disable_class_parameter_defaults') -PuppetLint.configuration.send('disable_arrow_alignment') diff --git a/manifests/init.pp b/manifests/init.pp index 6dcb9c6..76d8f6e 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -45,10 +45,10 @@ class bandersnatch { } file { '/usr/local/bin/run-bandersnatch': - ensure => present, - owner => 'root', - group => 'root', - mode => '0755', - source => 'puppet:///modules/bandersnatch/run_bandersnatch.py', + ensure => present, + owner => 'root', + group => 'root', + mode => '0755', + source => 'puppet:///modules/bandersnatch/run_bandersnatch.py', } } diff --git a/manifests/mirror.pp b/manifests/mirror.pp index a3d2fd6..a309ca2 100644 --- a/manifests/mirror.pp +++ b/manifests/mirror.pp @@ -61,8 +61,8 @@ class bandersnatch::mirror ( } file { '/etc/bandersnatch.conf': - ensure => present, - content => template('bandersnatch/bandersnatch.conf.erb'), + ensure => present, + content => template('bandersnatch/bandersnatch.conf.erb'), } cron { 'bandersnatch':