summaryrefslogtreecommitdiffstats
path: root/lib/puppet/defaults.rb
diff options
context:
space:
mode:
authorJesse Wolfe <jes5199@gmail.com>2010-04-30 14:54:07 -0700
committertest branch <puppet-dev@googlegroups.com>2010-02-17 06:50:53 -0800
commit76304f8b09ec7d47b5ebd75efde8499a1e3ca63c (patch)
tree1f1535d5a74c3d647e3cb90580a9c28dba3f254a /lib/puppet/defaults.rb
parente9627a060619eaf0f8eeb012979dddb047c6648e (diff)
downloadpuppet-76304f8b09ec7d47b5ebd75efde8499a1e3ca63c.tar.gz
puppet-76304f8b09ec7d47b5ebd75efde8499a1e3ca63c.tar.xz
puppet-76304f8b09ec7d47b5ebd75efde8499a1e3ca63c.zip
feature #2276 Single Executable: move CommandLine methods
move Util::CommandLine methods into instances instead of on the class, as suggested by Markus Signed-off-by: Jesse Wolfe <jes5199@gmail.com>
Diffstat (limited to 'lib/puppet/defaults.rb')
-rw-r--r--lib/puppet/defaults.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/defaults.rb b/lib/puppet/defaults.rb
index b0995c2a9..dab1120df 100644
--- a/lib/puppet/defaults.rb
+++ b/lib/puppet/defaults.rb
@@ -6,7 +6,7 @@ module Puppet
var = nil
require 'puppet/util/command_line'
- name = Puppet::Util::CommandLine.legacy_executable_name
+ name = Puppet::Util::CommandLine.new.legacy_executable_name
# Make File.expand_path happy
require 'etc'