cookbook 'sauceconnect', '~> 0.2.0'
sauceconnect (2) Versions 0.2.0 Follow1
Installs/Configures SauceLabs Connect Proxy
cookbook 'sauceconnect', '~> 0.2.0', :supermarket
knife supermarket install sauceconnect
knife supermarket download sauceconnect
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.
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 (jdunn@chef.io)
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.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
CHANGELOG for sauceproxy
This file is used to list changes made in each version of sauceproxy.
0.2.0:
- Upgrade to SauceConnect 4.3.10.
0.1.9:
- Added (some) tests. Upgrade to SauceConnect 3.0-r28
0.1.8:
- SOP-2845 Upgrade to SauceConnect 3.0-r22 which solves the problem from the previous version
0.1.7:
- SOP-2812 chdir to the sauceproxy home before starting it up because the daemon tries to write to "./sauce_connect.log"
0.1.6:
- SOP-2812 Fix stupid failures on Sauceproxy download by greatly simplifying logic
0.1.5:
- SOP-2795 Upgrade to 3.0-r21
- FC001 compliance (even though it's not valid anymore, that's the style we've adopted)
- No longer need nightly_restart recipe
- Added a basic minitest and some unit tests
0.1.4:
- SOP-1686 Pin to version of Sauce Connect
0.1.3:
- SOP-1686 Remove nightly restart cron job
0.1.2:
- First locked version uploaded using Spork.
0.1.1:
- Wrote init script, sysconfig template
0.1.0:
- Initial release of sauceproxy
Check the Markdown Syntax Guide for help with Markdown.
The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.
Collaborator Number Metric
0.2.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.2.0 passed this metric
No Binaries Metric
0.2.0 passed this metric
Testing File Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.2.0 passed this metric
0.2.0 failed this metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.2.0 passed this metric
No Binaries Metric
0.2.0 passed this metric
Testing File Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.2.0 passed this metric
0.2.0 passed this metric
0.2.0 passed this metric
Testing File Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.2.0 passed this metric
0.2.0 failed this metric
0.2.0 passed this metric