puppet-appstore

MIT License

Stars
21
Committers
11

puppet-appstore

Install apps from the Mac App Store with Boxen.

Usage

Define appstore::appleid and appstore::password in your hiera config:

---
# /opt/boxen/repo/hiera/users/xdissent.yaml

# App Store credentials:
appstore::appleid: [email protected]
appstore::password: jlaw4eva

# Optional App Store location:
appstore::store: us

Add app definitions:

appstore::app { 'Twitter':
  source => 'twitter/id409789998', # required
}

To find the source ID for an app: open it in the App Store, click the popup button to the right of the Install/Installed/Buy/Free button and choose "Copy Link".

Inspiration

Demonstrate a wholly automated Xcode install by Phil Smith

Required Puppet Modules

Development

Set GITHUB_API_TOKEN in your shell with a Github oAuth Token to raise your API rate limit. You can get some work done without it, but you're less likely to encounter errors like Unable to find module 'boxen/puppet-boxen' on https://github.com.

Then write some code. Run script/cibuild to test it. Check the script directory for other useful tools.