Skip to content

Development repository for Sauce Connect Proxy cookbook

Notifications You must be signed in to change notification settings

zirkov/sauceconnect

 
 

Repository files navigation

Description

Installs SauceLabs' "Connect" proxy on a server. The proxy allows you to test internal infrastructure with SauceLabs' Selenium testing service by setting up a tunnel.

Build Status

Requirements

Platforms

  • CentOS 5.x, 6.x, 7.x
  • RedHat Enterprise Linux 5.x, 6.x

Attributes

  • node['sauceproxy']['server']['version'] - Version of SauceConnect to download.
  • node['sauceproxy']['server']['download_url'] - The URL to download Sauce Connect from.
  • node['sauceproxy']['server']['zipfile'] - The zip file name containing Sauce Connect.
  • node['sauceproxy']['server']['install_dir'] - Where to unpack the zip file to.
  • node['sauceproxy']['server']['user'] - The user to run the proxy under.
  • node['sauceproxy']['server']['log_file'] - The log file to write output to.
  • node['sauceproxy']['server']['api_user'] - Your API username. Blank by default; set this in a role or an enclosing application cookbook.
  • node['sauceproxy']['server']['api_key'] - Your API key. Blank by default; set this in a role or an enclosing application cookbook.

Tests

There are some elementary minitests in files/default/tests/minitest, as well as test-kitchen integration tests. The tests are by no means complete; please feel free to add more.

Recipes

default

Does nothing. Use the server recipe.

server

Downloads and unpacks Sauce Connect on the target system and registers it as a service to start up at boot time.

To-Do

  • Add more tests.
  • Throw an exception if neither the API user or key are defined.
  • Support other platforms (Debian, Ubuntu, etc.)
  • Convert service definition to use upstart on RHEL6 and systemd on RHEL7.

License and Author

  • Author:: Julian C. Dunn ([email protected])

  • Copyright:: 2012-2013, SecondMarket Labs, LLC.

  • Copyright:: 2013-2015, Chef Software, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

Development repository for Sauce Connect Proxy cookbook

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 85.1%
  • Shell 12.1%
  • HTML 2.8%