Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
67 lines (53 sloc) 1.09 KB

Description

Installs xapian-tools with Python bindings

Requirements

  • Ubuntu 12.04LTS or Ubuntu 14.04LTS.
  • Python 2.7.x

Usage

Include xapian in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[xapian]"
  ]
}

To Symlink Xapian to a Python VirtualEnv, also add the symlink-xapian recipe:

{
  "name":"my_node",
  "run_list": [
    "recipe[xapian]",
    "recipe[xapian][symlink-xapian]"
  ]
}

You may need to change the attributes when symlinking, see attributes/default.rb for more detailed information:

{
  "name":"my_node",
  "run_list": [
    "recipe[xapian]",
    "recipe[xapian][symlink-xapian]"
  ],
  "override_attributes": {
    "xapian": {
      "linux_user": "",
      "virtual_env_path": "",
      "virtual_env": ""
    }
  }
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like feature/add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github
Something went wrong with that request. Please try again.