app-admin/puppet: remove unused patches

Closes: https://github.com/gentoo/gentoo/pull/1790

Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger (asterix)
2016-06-28 22:25:08 +02:00
committed by Patrice Clement
parent e13f01d229
commit 9d1b53ec3f
2 changed files with 0 additions and 33 deletions

View File

@@ -1,18 +0,0 @@
--- ./spec/unit/network/http/api/indirected_routes_spec.rb 2015-07-21 12:09:09.000000000 -0500
+++ ./spec/unit/network/http/api/indirected_routes_spec.rb.new 2015-07-23 18:33:22.839914116 -0500
@@ -144,15 +144,6 @@
:env))))
handler.uri2indirection("GET", "#{master_url_prefix}/node/bar", params)
end
-
- it "should not pass through an environment to check_authorization and fail if the environment is unknown" do
- handler.expects(:check_authorization).with(anything,
- anything,
- Not(has_entry(:environment)))
- expect(lambda { handler.uri2indirection("GET",
- "#{master_url_prefix}/node/bar",
- {:environment => 'bogus'}) }).to raise_error(ArgumentError)
- end
end
describe "when converting a request into a URI" do

View File

@@ -1,15 +0,0 @@
diff -Naur puppet-3.1.1-r2.orig/lib/puppet/provider/service/openrc.rb puppet-3.1.1-r2/lib/puppet/provider/service/openrc.rb
--- all/puppet-3.1.1.orig/lib/puppet/provider/service/openrc.rb 2013-06-05 03:32:53.646824966 -0400
+++ all/puppet-3.1.1/lib/puppet/provider/service/openrc.rb 2013-06-05 03:37:25.333824967 -0400
@@ -10,8 +10,10 @@
defaultfor :operatingsystem => :gentoo
defaultfor :operatingsystem => :funtoo
+ has_command(:rcstatus, '/bin/rc-status') do
+ environment :RC_SVCNAME => nil
+ end
commands :rcservice => '/sbin/rc-service'
- commands :rcstatus => '/bin/rc-status'
commands :rcupdate => '/sbin/rc-update'
self::STATUSLINE = /^\s+(.*?)\s*\[\s*(.*)\s*\]$/