Fix the ipfs_config resource to handle integers too

This commit is contained in:
Greg Karékinian
2019-05-07 14:55:41 +02:00
parent f22b7d9b1f
commit 5aa50ecc7e
2 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ require 'json'
require 'mixlib/shellout'
property :key, String, name_property: true
property :value, [String, Hash, Array, TrueClass, FalseClass], required: true
property :value, [String, Hash, Array, TrueClass, FalseClass, Integer], required: true
action :create do
include_recipe 'ipfs'