Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/b00gizm/puppet-bartender
https://github.com/b00gizm/puppet-bartender
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/b00gizm/puppet-bartender
- Owner: b00giZm
- License: mit
- Created: 2013-06-19T20:54:54.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-06-19T20:56:07.000Z (over 11 years ago)
- Last Synced: 2023-03-10T22:42:01.268Z (over 1 year ago)
- Language: Ruby
- Size: 125 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Using this Template
Bootstrap it:
```
mkdir -p ~/src/boxen/puppet-mynewmodule
cd ~/src/boxen/puppet-mynewmodule
git init .
git remote add template https://github.com/boxen/puppet-template.git
git fetch template
git checkout -b master template/master
```Now we're ready to make it our own!
```
script/cibuild
.bundle/binstubs/rspec-puppet-init
```Now you'll need to edit `manifests/init.pp` and `spec/classes/template_spec.rb`
for your module.
If your module has other dependencies, be sure to update
`spec/fixtures/Puppetfile`.
From then on, you can use `script/cibuild` to run the tests.When you're ready to push:
```
git create githubusername/puppet-mynewmodule
git push origin master
```The rest of the README as follows can be used as a template for your module's README.
# Template Puppet Module for Boxen
An example of how we write Puppet modules for Boxen. Replace this
paragraph with a short explanation of what the heck makes your module
useful.A great module has a working travis build
[![Build Status](https://travis-ci.org/boxen/puppet-template.png?branch=master)](https://travis-ci.org/boxen/puppet-template)
## Usage
```puppet
boxen::example { 'best example ever':
salutation => 'fam'
}
```## Required Puppet Modules
* `boxen`
* `anything-else`## Development
Set `GITHUB_API_TOKEN` in your shell with a [Github oAuth Token](https://help.github.com/articles/creating-an-oauth-token-for-command-line-use) 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.