lib/bolt/plugin/vault.rb in bolt-1.30.1 vs lib/bolt/plugin/vault.rb in bolt-1.31.0
- old
+ new
@@ -53,19 +53,19 @@
def name
'vault'
end
def hooks
- ['inventory_config']
+ [:resolve_reference]
end
- def initialize(config)
+ def initialize(config:, **_opts)
validate_config(config)
@config = config
@logger = Logging.logger[self]
end
- def inventory_config(opts)
+ def resolve_reference(opts)
validate_options(opts)
header = {
TOKEN_HEADER => token(opts)
}