lib/kitchen/provisioner/chef/librarian.rb in test-kitchen-1.11.1 vs lib/kitchen/provisioner/chef/librarian.rb in test-kitchen-1.12.0

- old
+ new

@@ -38,20 +38,20 @@ # @param cheffile [String] path to a Cheffile # @param path [String] path in which to vendor the resulting # cookbooks # @param logger [Kitchen::Logger] a logger to use for output, defaults # to `Kitchen.logger` - def initialize(cheffile, path, logger = Kitchen.logger) + def initialize(cheffile, path, logger: Kitchen.logger) @cheffile = cheffile @path = path @logger = logger end # Loads the library code required to use the resolver. # # @param logger [Kitchen::Logger] a logger to use for output, defaults # to `Kitchen.logger` - def self.load!(logger = Kitchen.logger) + def self.load!(logger: Kitchen.logger) load_librarian!(logger) end # Performs the cookbook resolution and vendors the resulting cookbooks # in the desired path.