Skip to content

Commit 17ae1fb

Browse files
committed
Initial commit.
1 parent a0523de commit 17ae1fb

File tree

5 files changed

+25
-62
lines changed

5 files changed

+25
-62
lines changed

README.md

Lines changed: 5 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,19 @@
1-
# Using this Template
1+
ScreenFlow Puppet Module for Boxen
22

3-
Bootstrap it:
4-
5-
```
6-
mkdir -p ~/src/boxen/puppet-mynewmodule
7-
cd ~/src/boxen/puppet-mynewmodule
8-
git init .
9-
git remote add template https://github.com/boxen/puppet-template.git
10-
git fetch template
11-
git checkout -b master template/master
12-
```
13-
14-
Now we're ready to make it our own!
15-
16-
```
17-
script/cibuild
18-
.bundle/binstubs/rspec-puppet-init
19-
```
20-
21-
Now you'll need to edit `manifests/init.pp` and `spec/classes/template_spec.rb`
22-
for your module.
23-
If your module has other dependencies, be sure to update
24-
`spec/fixtures/Puppetfile`.
25-
From then on, you can use `script/cibuild` to run the tests.
26-
27-
When you're ready to push:
28-
29-
```
30-
git create githubusername/puppet-mynewmodule
31-
git push origin master
32-
```
33-
34-
The rest of the README as follows can be used as a template for your module's README.
35-
36-
# Template Puppet Module for Boxen
37-
38-
An example of how we write Puppet modules for Boxen. Replace this
39-
paragraph with a short explanation of what the heck makes your module
40-
useful.
41-
42-
A great module has a working travis build
43-
44-
[![Build Status](https://travis-ci.org/boxen/puppet-template.png?branch=master)](https://travis-ci.org/boxen/puppet-template)
3+
Install [ScreenFlow](http://www.telestream.net/screenflow/), screencasting and screen recording software.
454

465
## Usage
476

487
```puppet
49-
boxen::example { 'best example ever':
50-
salutation => 'fam'
51-
}
8+
include screenflow
529
```
5310

5411
## Required Puppet Modules
5512

5613
* `boxen`
57-
* `anything-else`
5814

5915
## Development
6016

61-
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`.
17+
Write code. Run `script/cibuild` to test it. Check the `script`
18+
directory for other useful tools.irectory for other useful tools.
6219

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

manifests/init.pp

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
# This is a placeholder class.
2-
class template {
3-
anchor { 'Hello_World': }
1+
# Public: Install ScreenFlow.app into /Applications.
2+
#
3+
# Examples
4+
#
5+
# include screenflow
6+
class screenflow {
7+
package { 'ScreenFlow':
8+
provider => 'appdmg',
9+
source => 'http://www.telestream.net/download-files/screenflow/4-0/ScreenFlow-4.0.5.dmg'
10+
}
411
}

spec/classes/screenflow_spec.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
require 'spec_helper'
2+
3+
describe 'screenflow' do
4+
it do
5+
should contain_package('ScreenFlow').with({
6+
:provider => 'appdmg',
7+
:source => 'http://www.telestream.net/download-files/screenflow/4-0/ScreenFlow-4.0.5.dmg',
8+
})
9+
end
10+
end

spec/classes/template_spec.rb

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)