diff options
Diffstat (limited to 'app-admin/puppet/files/puppet-openrc-status-fix.patch')
-rw-r--r-- | app-admin/puppet/files/puppet-openrc-status-fix.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app-admin/puppet/files/puppet-openrc-status-fix.patch b/app-admin/puppet/files/puppet-openrc-status-fix.patch new file mode 100644 index 000000000000..af568098d594 --- /dev/null +++ b/app-admin/puppet/files/puppet-openrc-status-fix.patch @@ -0,0 +1,15 @@ +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*\]$/ |