# File lib/puppet/provider.rb, line 163
163:   def self.optional_commands(hash)
164:     hash.each do |name, path|
165:       name = symbolize(name)
166:       @commands[name] = path
167: 
168:       yield(name, path) if block_given?
169: 
170:       # Now define the class and instance methods.
171:       make_command_methods(name)
172:     end
173:   end