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
This commit is contained in:
Colleen Murphy 2015-07-14 19:23:49 -07:00
parent e5f8347365
commit 7c85a7d0bc
3 changed files with 7 additions and 8 deletions

View File

@ -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')

View File

@ -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',
}
}

View File

@ -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':