Skip to content

jakubriedl/chef-php-redis

 
 

Repository files navigation

php-redis-cookbook

Chef cookbook to download and install the PHP extension redis - https://github.com/nicolasff/phpredis

Attributes

node['php-redis']['url'] = 'https://github.com/nicolasff/phpredis/archive/master.tar.gz'
node['php-redis']['igbinary'] = true
node['php-redis']['conf_dirs'] = ['/etc/php.d']
node['php-redis']['conf_file'] = 'redis.ini'

Usage

php-redis::default

Include php-redis in your node's run_list. This will download and install redis.

{
  "run_list": [
    "recipe[php-redis::default]"
  ]
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (i.e. add-new-recipe)
  3. Write you change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%