[Pkg-puppet-devel] [facter] 226/352: (FACT-321) Remove interpreter arg for command execution

Stig Sandbeck Mathisen ssm at debian.org
Sun Apr 6 22:21:48 UTC 2014


This is an automated email from the git hooks/post-receive script.

ssm pushed a commit to branch master
in repository facter.

commit 4eac9dfa86e90d9b401485dd0e898baf8d05a101
Author: Adrien Thebo <git at somethingsinistral.net>
Date:   Thu Feb 6 10:41:13 2014 -0800

    (FACT-321) Remove interpreter arg for command execution
---
 lib/facter/core/execution.rb | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/lib/facter/core/execution.rb b/lib/facter/core/execution.rb
index 7173730..f9880ff 100644
--- a/lib/facter/core/execution.rb
+++ b/lib/facter/core/execution.rb
@@ -166,14 +166,7 @@ module Facter
       # @note Since Facter 1.5.8 this strips trailing newlines from the
       #   returned value. If a fact will be used by versions of Facter older
       #   than 1.5.8 then you should call chomp the returned string.
-      #
-      # @overload exec(code)
-      # @overload exec(code, interpreter = nil)
-      #   @param [String] interpreter unused, only exists for backwards
-      #     compatibility
-      #   @deprecated
-      def exec(code, interpreter = nil)
-        Facter.warnonce "The interpreter parameter to 'exec' is deprecated and will be removed in a future version." if interpreter
+      def exec(code)
 
         ## Set LANG to force i18n to C for the duration of this exec; this ensures that any code that parses the
         ## output of the command can expect it to be in a consistent / predictable format / locale

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-puppet/facter.git



More information about the Pkg-puppet-devel mailing list