Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

macosx_gui_login (3) Versions 1.0.1

Login to Mac OS X GUI

Policyfile
Berkshelf
Knife
cookbook 'macosx_gui_login', '= 1.0.1', :supermarket
cookbook 'macosx_gui_login', '= 1.0.1'
knife supermarket install macosx_gui_login
knife supermarket download macosx_gui_login
README
Dependencies
Changelog
Quality 100%

Mac OS X GUI Login Cookbook

Cookbook Version
Build Status
GitHub Issues

This cookbook logs into Mac OS X GUI via AppleScript.

Requirements

  • Chef 12 or higher (you can use Chef 11, but sensitive attribute won't work)

Platforms

  • Mac OS X - Mountain Lion (10.8) or higher

Usage

Include cookbook as a dependency before calling macosx_gui_login resource.

Actions

  • run - Logs into GUI.

Attributes

  • username (required) - Username to login as. Defaults to the name of the resource block.
  • password (required) - Password of user.

Examples

Login as vagrant user:

macosx_gui_login 'login to vagrant user' do
  username 'vagrant'
  password 'vagrant'
  action :run
end

ChefSpec Matchers

This cookbook includes custom ChefSpec matchers you can use to test
your own cookbooks.

Example Matcher Usage

expect(chef_run).to run_macosx_gui_login('login to vagrant user').with(
  username: 'vagrant'
  password: 'vagrant'
)

Cookbook Matchers

  • run_macosx_gui_login(resource_name)

Getting Help

Contributing

Please refer to CONTRIBUTING.

License

MIT - see the accompanying LICENSE
file for details.

Changelog

1.0.1

  • Fix #1 Login password is not suppressed in logs

1.0.0

  • Initial release

Foodcritic Metric
            

1.0.1 passed this metric