From 2ecd9d71f9c72fb0d7db3938c6ffd8e7b5d51eff Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Tue, 14 Jul 2015 19:20:25 -0700 Subject: [PATCH] Enable arrow alignment lint check Discussion following https://review.openstack.org/#/c/200854/ 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: I39cdaa5c26668f7815460c489fcde543a57e9a01 --- Rakefile | 1 - manifests/init.pp | 20 ++++++++++---------- 2 files changed, 10 insertions(+), 11 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 c4a4ac9..2d4a163 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -71,19 +71,19 @@ class asterisk ( } file { '/etc/asterisk/asterisk.conf': - ensure => present, - owner => 'asterisk', - group => 'asterisk', - mode => '0660', - source => $asterisk_conf_source, + ensure => present, + owner => 'asterisk', + group => 'asterisk', + mode => '0660', + source => $asterisk_conf_source, } file { '/etc/asterisk/modules.conf.d/modules.conf': - ensure => present, - owner => 'asterisk', - group => 'asterisk', - mode => '0660', - source => $modules_conf_source, + ensure => present, + owner => 'asterisk', + group => 'asterisk', + mode => '0660', + source => $modules_conf_source, } file { '/etc/asterisk':