]> git.pld-linux.org Git - packages/chef.git/commitdiff
up to 14.13.16 dev-14.13
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 21 Aug 2019 16:57:27 +0000 (19:57 +0300)
committerElan Ruusamäe <glen@pld-linux.org>
Thu, 22 Aug 2019 14:13:20 +0000 (17:13 +0300)
chef.spec
poldek.patch

index 0b8688ce0c4a33e64cbfe33ca1cf3f4e06cc27f6..99c17d5e75408db754058467e18e0bb304b268ed 100644 (file)
--- a/chef.spec
+++ b/chef.spec
@@ -7,12 +7,12 @@
 
 Summary:       A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure
 Name:          chef
-Version:       14.13.15
+Version:       14.13.16
 Release:       1
 License:       Apache v2.0
 Group:         Networking/Admin
 Source0:       https://github.com/chef/chef/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 95a6ba0d3dd61dd01f3c1511e92e2ba3
+# Source0-md5: 67898b54b1a9f74fcc2f0d28d357c4c0
 Source2:       %{name}.tmpfiles
 Source3:       https://raw.github.com/stevendanna/knife-hacks/master/shell/knife_completion.sh
 # Source3-md5: a4c1e41370be8088a59ddb3b2e7ea397
index adfe88835fff53d464eab0b2dbc2d21afb6035d1..a92b008d3108a6b5fdc550ddeb74785f7790940a 100644 (file)
@@ -4,7 +4,7 @@ https://github.com/chef/chef/pull/7482
 
 diff --git a/lib/chef/provider/package/poldek.rb b/lib/chef/provider/package/poldek.rb
 new file mode 100644
-index 000000000..a4d17ba67
+index 000000000..c7dc21862
 --- /dev/null
 +++ b/lib/chef/provider/package/poldek.rb
 @@ -0,0 +1,137 @@
@@ -77,7 +77,7 @@ index 000000000..a4d17ba67
 +        def install_package(names, versions)
 +          logger.trace("#{new_resource} installing package #{names} version #{versions}")
 +          update_indexes
-+          poldek(options, "-u", names)
++          poldek("-u", names)
 +        end
 +
 +        def upgrade_package(names, versions)
@@ -87,22 +87,22 @@ index 000000000..a4d17ba67
 +
 +        def remove_package(names, versions)
 +          logger.trace("#{new_resource} removing package #{names} version #{versions}")
-+          poldek(options, "-e", names)
++          poldek("-e", names)
 +        end
 +
 +        private
 +        @@updated = Hash.new
 +
 +        def update_indexes()
-+            checksum = Digest::MD5.hexdigest(opts).to_s
++          checksum = Digest::MD5.hexdigest(opts).to_s
 +
-+            if @@updated[checksum]
-+                return
-+            end
++          if @@updated[checksum]
++              return
++          end
 +
-+            logger.debug("#{@new_resource} updating package indexe")
-+            poldek("--up", options, :env => nil)
-+            @@updated[checksum] = true
++          logger.debug("#{new_resource} updating package indexes")
++          poldek("--up")
++          @@updated[checksum] = true
 +        end
 +
 +        def opts
@@ -139,7 +139,7 @@ index 000000000..a4d17ba67
 +        end
 +
 +        def poldek(*args)
-+          shell_out_compact_timeout!(%w{poldek -q --noask}, *args, env: nil, returns: [0, 1, 255])
++          shell_out_compact_timeout!(%w{poldek -q --noask}, options, *args, env: nil, returns: [0, 1, 255])
 +        end
 +      end
 +    end
This page took 0.052017 seconds and 4 git commands to generate.