<commit_before>maintainer       "<NAME>"
maintainer_email "<EMAIL>"
license          "Apache 2.0"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version          "3.0.0"

description      "Installs and configures Redis server"

depends          "runit"
depends          "install_from"

%w[ debian ubuntu ].each do |os|
  supports os
end

attribute "redis/address",
  :display_name          => "Redis server IP address",
  :description           => "IP address to bind.  The default is any.",
  :default               => "0.0.0.0"

attribute "redis/port",
  :display_name          => "Redis server port",
  :description           => "TCP port to bind.  The default is 6379.",
  :default               => "6379"

attribute "redis/pidfile",
  :display_name          => "Redis PID file path",
  :description           => "Path to the PID file when daemonized.  The default is /var/run/redis.pid.",
  :default               => "/var/run/redis.pid"

attribute "redis/logfile",
  :display_name          => "Redis log file path",
  :description           => "Path to the log file when daemonized.  The default is /var/log/redis.log.",
  :default               => "/var/log/redis/redis.log"

attribute "redis/dbdir",
  :display_name          => "Redis database directory",<commit_msg>metadata files list their recipes<commit_after>maintainer       "<NAME>"
maintainer_email "<EMAIL>"
license          "Apache 2.0"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version          "3.0.0"

description      "Installs and configures Redis server"

depends          "runit"
depends          "install_from"

recipe           "redis::default",                     "Default"
recipe           "redis::install_from_package",        "Install From Package"
recipe           "redis::install_from_release",        "Install From Release"
recipe           "redis::server",                      "Server"

%w[ debian ubuntu ].each do |os|
  supports os
end

attribute "redis/address",
  :display_name          => "Redis server IP address",
  :description           => "IP address to bind.  The default is any.",
  :default               => "0.0.0.0"

attribute "redis/port",
  :display_name          => "Redis server port",
  :description           => "TCP port to bind.  The default is 6379.",
  :default               => "6379"

attribute "redis/pidfile",
  :display_name          => "Redis PID file path",
  :description           => "Path to the PID file when daemonized.  The default is /var/run/redis.pid.",
  :default               => "/var/run/redis.pid"

attribute "redis/logfile",
  :display_name          => "Redis log file path",
  :description           => "Path to the log file when daemonized.  The default is /var/log/redis.log.",
  :default               => "/var/log/redis/redis.log"

attribute "redis/dbdir",
  :display_name          => "Redis database directory",
{'fraction_non_alphanumeric': 0.12310866574965612, 'fraction_numerical': 0.011691884456671253, 'mean_word_length': 2.207276736493936, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 33, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5161835', 'n_tokens_mistral': 902, 'n_tokens_neox': 881, 'n_words': 247}