Sha256: 61c4675401dc8536fc23d0a5abf9a096dfbb740cb59a2f435fc4c035b97d33ee
Contents?: true
Size: 486 Bytes
Versions: 8
Compression:
Stored size: 486 Bytes
Contents
require 'chef_fs/data_handler/data_handler_base' module ChefFS module DataHandler class ContainerDataHandler < DataHandlerBase def normalize(user, entry) super(user, { 'containername' => remove_dot_json(entry.name), 'containerpath' => remove_dot_json(entry.name) }) end def preserve_key(key) return key == 'containername' end # There is no chef_class for users, nor does to_ruby work. end end end
Version data entries
8 entries across 8 versions & 1 rubygems