Skip to content

Commit 306acc7

Browse files
committed
fix lint options, influxdb::install formatting
1 parent 712db34 commit 306acc7

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

Rakefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@ require 'puppet_blacksmith/rake_tasks'
77

88
Rake::Task[:lint].clear
99
PuppetLint::RakeTask.new :lint do |config|
10-
config.ignore_paths = ["pkg/**/**/*.pp"]
10+
config.ignore_paths = ["modules/**/**/*.pp","pkg/**/**/*.pp"]
1111
config.log_format = '%{path}:%{linenumber}:%{KIND}: %{message}'
12-
config.disable_checks = [ "80chars" ]
12+
config.disable_checks = [ "80chars", 'autoloader_layout', 'class_inherits_from_params_class']
1313
end
1414

1515
task :default => [:spec, :lint]
16-

manifests/install.pp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# DO NO CALL DIRECTLY
33
class influxdb::install {
44
package { 'influxdb':
5-
ensure => $influxdb::ensure,
5+
ensure => $influxdb::ensure,
66
}
77
if !$influxdb::install_from_repository {
88
# package source and provider
@@ -25,12 +25,12 @@
2525
fail('Only supports Debian or RedHat $::osfamily')
2626
}
2727
}
28-
28+
2929
# get the package
3030
staging::file { 'influxdb-package':
3131
source => $package_source,
3232
}
33-
33+
3434
# install the package
3535
Package['influxdb']{
3636
provider => $package_provider,

0 commit comments

Comments
 (0)