Use community puppet-lint plugins and conform code to them
This commit is contained in:
parent
7b86b6ae10
commit
32c633f5a5
12
Gemfile
12
Gemfile
@ -11,6 +11,18 @@ gem 'puppetlabs_spec_helper', '>= 0.1.0'
|
|||||||
gem 'puppet-lint', '>= 1.0.0'
|
gem 'puppet-lint', '>= 1.0.0'
|
||||||
gem 'facter', '>= 1.7.0'
|
gem 'facter', '>= 1.7.0'
|
||||||
gem 'rspec-puppet', '~> 2.0'
|
gem 'rspec-puppet', '~> 2.0'
|
||||||
|
gem 'puppet-lint-absolute_classname-check'
|
||||||
|
gem 'puppet-lint-alias-check'
|
||||||
|
gem 'puppet-lint-empty_string-check'
|
||||||
|
gem 'puppet-lint-file_ensure-check'
|
||||||
|
gem 'puppet-lint-file_source_rights-check'
|
||||||
|
gem 'puppet-lint-fileserver-check'
|
||||||
|
gem 'puppet-lint-leading_zero-check'
|
||||||
|
gem 'puppet-lint-spaceship_operator_without_tag-check'
|
||||||
|
gem 'puppet-lint-trailing_comma-check'
|
||||||
|
gem 'puppet-lint-undef_in_function-check'
|
||||||
|
gem 'puppet-lint-unquoted_string-check'
|
||||||
|
gem 'puppet-lint-variable_contains_upcase'
|
||||||
|
|
||||||
# rspec must be v2 for ruby 1.8.7
|
# rspec must be v2 for ruby 1.8.7
|
||||||
if RUBY_VERSION >= '1.8.7' and RUBY_VERSION < '1.9'
|
if RUBY_VERSION >= '1.8.7' and RUBY_VERSION < '1.9'
|
||||||
|
@ -689,7 +689,7 @@ class ssh (
|
|||||||
|
|
||||||
if $manage_root_ssh_config_real == true {
|
if $manage_root_ssh_config_real == true {
|
||||||
|
|
||||||
include common
|
include ::common
|
||||||
|
|
||||||
common::mkdir_p { "${::root_home}/.ssh": }
|
common::mkdir_p { "${::root_home}/.ssh": }
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
include ssh
|
include ::ssh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user