summaryrefslogtreecommitdiff
path: root/lib/chef/provider/package
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-02-09 08:17:32 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-02-09 08:17:32 -0800
commit37e02399a6e1dd281808a556f1420f8cf6e846fd (patch)
tree86834a5371fccfc474004233e45ab00dd7355574 /lib/chef/provider/package
parentf073747786abbe6ada55ed24b696a03e39c3c45d (diff)
downloadchef-37e02399a6e1dd281808a556f1420f8cf6e846fd.tar.gz
autofixing auto-inserted delimiterslcg/chefstyle-batch
Diffstat (limited to 'lib/chef/provider/package')
-rw-r--r--lib/chef/provider/package/pacman.rb2
-rw-r--r--lib/chef/provider/package/rpm.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider/package/pacman.rb b/lib/chef/provider/package/pacman.rb
index 460f4c4ea2..fe321037bd 100644
--- a/lib/chef/provider/package/pacman.rb
+++ b/lib/chef/provider/package/pacman.rb
@@ -52,7 +52,7 @@ class Chef
def candidate_version
return @candidate_version if @candidate_version
- repos = %w(extra core community)
+ repos = %w{extra core community}
if(::File.exists?("/etc/pacman.conf"))
pacman = ::File.read("/etc/pacman.conf")
diff --git a/lib/chef/provider/package/rpm.rb b/lib/chef/provider/package/rpm.rb
index c00f0ebbd4..777cc6d209 100644
--- a/lib/chef/provider/package/rpm.rb
+++ b/lib/chef/provider/package/rpm.rb
@@ -25,7 +25,7 @@ class Chef
class Package
class Rpm < Chef::Provider::Package
- provides :rpm_package, os: %w(linux aix)
+ provides :rpm_package, os: %w{linux aix}
include Chef::Mixin::GetSourceFromPackage