Rubocop fixes

This commit is contained in:
2019-05-10 22:17:45 +01:00
parent d1c83026bd
commit 4a3dcd0a8a
14 changed files with 146 additions and 44 deletions

View File

@@ -41,7 +41,8 @@ Puppet::Type.type(:enman_repo).provide(:enman) do
available_repos = instances
resources.each do |name, _resource|
if provider = available_repos.find { |r| r.name == name }
provider = available_repos.find { |r| r.name == name }
if provider
resources[name].provider = provider
end
end