This replaces the deprecated redis cookbook. Compiles the latest version of Redis, currently 7.0.11 Refs #488
14 lines
483 B
Ruby
14 lines
483 B
Ruby
actions :run
|
|
unified_mode true
|
|
default_action :run
|
|
|
|
# Installation attributes
|
|
attribute :version, kind_of: String
|
|
attribute :download_url, kind_of: String
|
|
attribute :download_dir, kind_of: String, default: Chef::Config[:file_cache_path]
|
|
attribute :artifact_type, kind_of: String, default: 'tar.gz'
|
|
attribute :base_name, kind_of: String, default: 'redis-'
|
|
attribute :safe_install, kind_of: [TrueClass, FalseClass], default: true
|
|
|
|
attribute :install_dir, kind_of: String, default: nil
|