lib/bolt/config.rb in bolt-1.27.1 vs lib/bolt/config.rb in bolt-1.28.0

- old
+ new

@@ -29,17 +29,17 @@ super(msg, 'bolt/unknown-transport') end end class Config - attr_accessor :aws, :concurrency, :format, :trace, :log, :puppetdb, :color, :save_rerun, + attr_accessor :concurrency, :format, :trace, :log, :puppetdb, :color, :save_rerun, :transport, :transports, :inventoryfile, :compile_concurrency, :boltdir, :puppetfile_config, :plugins attr_writer :modulepath TRANSPORT_OPTIONS = %i[password run-as sudo-password extensions - private-key tty tmpdir user connect-timeout + private-key tty tmpdir user connect-timeout disconnect-timeout cacert token-file service-url interpreters file-protocol smb-port realm].freeze PUPPETFILE_OPTIONS = %w[proxy forge].freeze def self.default @@ -160,10 +160,10 @@ @save_rerun = data['save-rerun'] if data.key?('save-rerun') # Plugins are only settable from config not inventory so we can overwrite @plugins = data['plugins'] if data.key?('plugins') - %w[aws concurrency format puppetdb color transport].each do |key| + %w[concurrency format puppetdb color transport].each do |key| send("#{key}=", data[key]) if data.key?(key) end TRANSPORTS.each do |key, impl| if data[key.to_s]