lib/bolt/config/transport/lxd.rb in bolt-3.23.1 vs lib/bolt/config/transport/lxd.rb in bolt-3.24.0
- old
+ new
@@ -7,17 +7,26 @@
class Config
module Transport
class LXD < Base
OPTIONS = %w[
cleanup
+ interpreters
remote
tmpdir
].concat(RUN_AS_OPTIONS).sort.freeze
DEFAULTS = {
'cleanup' => true,
'remote' => 'local'
}.freeze
+
+ private def validate
+ super
+
+ if @config['interpreters']
+ @config['interpreters'] = normalize_interpreters(@config['interpreters'])
+ end
+ end
end
end
end
end