Skip to content

Commit 60db389

Browse files
authored
Merge pull request #631 from voxpupuli/modulesync
modulesync 5.1.0 & puppet-lint: fix params_empty_string_assignment
2 parents 0c5e66c + 08898ae commit 60db389

29 files changed

+152
-64
lines changed

.msync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# Managed by modulesync - DO NOT EDIT
33
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
44

5-
modulesync_config_version: '4.2.0'
5+
modulesync_config_version: '5.1.0'

.puppet-lint.rc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
--fail-on-warnings
2+
--no-parameter_documentation-check

.sync.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
---
22
spec/spec_helper_acceptance.rb:
33
unmanaged: false
4+
.puppet-lint.rc:
5+
enabled_lint_checks:
6+
- parameter_types

Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
source ENV['GEM_SOURCE'] || "https://rubygems.org"
55

66
group :test do
7-
gem 'voxpupuli-test', '~> 2.5', :require => false
7+
gem 'voxpupuli-test', '~> 5.0', :require => false
88
gem 'coveralls', :require => false
99
gem 'simplecov-console', :require => false
1010
gem 'puppet_metadata', '~> 1.0', :require => false
@@ -21,7 +21,7 @@ end
2121

2222
group :release do
2323
gem 'github_changelog_generator', '>= 1.16.1', :require => false if RUBY_VERSION >= '2.5'
24-
gem 'voxpupuli-release', '>= 1.0.2', :require => false
24+
gem 'voxpupuli-release', '>= 1.2.0', :require => false
2525
gem 'puppet-strings', '>= 2.2', :require => false
2626
end
2727

REFERENCE.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -783,19 +783,19 @@ Default value: `1800`
783783

784784
##### <a name="install_args"></a>`install_args`
785785

786-
Data type: `String`
786+
Data type: `Optional[String[1]]`
787787

788788
Any additional installation arguments that will be supplied when running pip install.
789789

790-
Default value: `''`
790+
Default value: ``undef``
791791

792792
##### <a name="uninstall_args"></a>`uninstall_args`
793793

794-
Data type: `String`
794+
Data type: `Optional[String[1]]`
795795

796796
Any additional arguments that will be supplied when running pip uninstall.
797797

798-
Default value: `''`
798+
Default value: ``undef``
799799

800800
##### <a name="log_dir"></a>`log_dir`
801801

@@ -1070,11 +1070,11 @@ Default value: ``undef``
10701070

10711071
##### <a name="extra_pip_args"></a>`extra_pip_args`
10721072

1073-
Data type: `String`
1073+
Data type: `Optional[String[1]]`
10741074

10751075
Extra arguments to pass to pip after the requirements file
10761076

1077-
Default value: `''`
1077+
Default value: ``undef``
10781078

10791079
##### <a name="manage_requirements"></a>`manage_requirements`
10801080

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Managed by modulesync - DO NOT EDIT
22
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
33

4-
# Attempt to load voxupuli-test (which pulls in puppetlabs_spec_helper),
4+
# Attempt to load voxpupuli-test (which pulls in puppetlabs_spec_helper),
55
# otherwise attempt to load it directly.
66
begin
77
require 'voxpupuli/test/rake'

lib/facter/pip_version.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
# Make pip version available as a fact
24

35
def get_pip_version(executable)

lib/facter/python_release.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
# Make python release available as facts
24

35
def get_python_release(executable)

lib/facter/python_version.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
# Make python versions available as facts
24

35
def get_python_version(executable)

lib/facter/virtualenv_version.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
# Make virtualenv version available as a fact
24

35
Facter.add('virtualenv_version') do

0 commit comments

Comments
 (0)