cookbook 'expect', '= 1.0.0'
expect (4) Versions 1.0.0 Follow0
Installs/Configures expect package
cookbook 'expect', '= 1.0.0', :supermarket
knife supermarket install expect
knife supermarket download expect
Expect Cookbook
Description
This cookbook will install Expect package.
Expect is a tool for automating interactive applications such as telnet, ftp, passwd, fsck, rlogin, tip, etc. Expect really makes this stuff trivial. Expect is also useful for testing these same applications. And by adding Tk, you can also wrap interactive applications in X11 GUIs.
Expect can make easy all sorts of tasks that are prohibitively difficult with anything else. You will find that Expect is an absolutely invaluable tool - using it, you will be able to automate tasks that you've never even thought of before - and you'll be able to do this automation quickly and easily.
Expect requires Tcl (tool command language). This cookbook will provide Tcl package if necessary (currently only Windows platform requires it).
Platforms
- Ubuntu
- CentOS
- RedHat
- Fedora
- Mac OS X
- Windows
Chef
- Chef 12 or later
Attributes
expect::default
Key | Type | Description | Platform | Default |
---|---|---|---|---|
default['expect']['include_homebrew'] |
Boolean | Include homebrew recipe for installing brew on Mac OS | Mac OS | true |
default['expect']['active_tcl']['from_system'] |
Boolean | Use the ActiveTcl from system | Windows | false |
default['expect']['active_tcl']['version'] |
String | Version of the ActiveTcl which should be installed | Windows | '8.6.4.1' |
default['expect']['active_tcl']['directory'] |
String | Installation path for the ActiveTcl | Windows | 'C:\\Tcl' |
default['expect']['active_tcl']['discover_url'] |
String | Server where the cookbook should search for installation binaries (based on SHA256SUM file) | Windows | 'http://downloads.activestate.com/ActiveTcl/releases' |
default['expect']['active_tcl']['url'] |
String | Direct url for the installation file | Windows | nil |
default['expect']['active_tcl']['checksum'] |
String | Checksum (SHA256) of the installation file from direct url | Windows | nil |
Recipes
expect::default
Installs Expect package on node and if the node platform is Windows then the recipe also installs ActiveState ActiveTcl component.
Usage
expect::default
Just include expect
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[expect]" ] }
Contributing
License and Authors
Authors: Radoslaw Jaros
Dependent cookbooks
windows >= 1.44.1 |
homebrew >= 2.1.0 |
bash ~> 0.1.2 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
CHANGELOG for Expect cookbook
This file is used to list changes made in each version of the Expect cookbook.
0.1.0
- Add default recipe with installation of the Expect package for platforms: Ubuntu, Mac OS X, Windows
- Add .travis, .rubocop and kitchen test with serverspec (provider Vagrant)
Collaborator Number Metric
1.0.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Foodcritic Metric
1.0.0 passed this metric
1.0.0 failed this metric
1.0.0 passed this metric