Skip to content

RatioClothing/cookbook-xvfb

 
 

Repository files navigation

Xvfb Cookbook

Cookbook Version Build Status GitHub Issues

This cookbook installs Xvfb and configures it as a service. Xvfb is an X server that can run on machines with no display hardware and no physical input devices. It emulates a dumb framebuffer using virtual memory.

Requirements

  • Chef 11 and Ruby 1.9.3 or higher.

Platforms

  • CentOS, RedHat, Fedora
  • Debian, Ubuntu

Cookbooks

These cookbooks are referenced with suggests, so be sure to depend on the cookbooks that apply:

  • apt - Debian, Ubuntu platforms
  • yum - CentOS, RedHat, Fedora platforms

Usage

Just include recipe[xvfb] in your run_list.

Attributes

  • node['xvfb']['display'] - Display number to listen for connections. Default is :0.
  • node['xvfb']['screennum'] - Screen number. Default is 0.
  • node['xvfb']['dimensions'] - Screen width, height, and depth. Default is 1280x1024x24.
  • node['xvfb']['args'] - Additional arguments. Default is nil. Set to -ac to disable access control restrictions.

See attributes/default.rb for complete list of attributes.

Getting Help

Contributing

Please refer to CONTRIBUTING.

License

MIT - see the accompanying LICENSE file for details.

About

A Chef cookbook to install Xvfb as a service

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 59.7%
  • Shell 29.0%
  • HTML 11.3%