This repository has been archived by the owner on Dec 2, 2020. It is now read-only.
forked from polymetis/puppet-bbedit
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ley Missailidis
committed
Mar 29, 2013
0 parents
commit 25ca7c3
Showing
15 changed files
with
149 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/.bundle/ | ||
.ruby-version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
script: "./script/cibuild" | ||
gemfile: "this/does/not/exist" | ||
rvm: | ||
- "1.8.7" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
source 'https://rubygems.org/' | ||
|
||
gem 'cardboard', '~> 1.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
addressable (2.3.3) | ||
ansi (1.4.3) | ||
boxen (1.0.2) | ||
ansi (~> 1.4) | ||
hiera (~> 1.0.0) | ||
highline (~> 1.6) | ||
json_pure (>= 1.7.7, < 2.0) | ||
librarian-puppet (~> 0.9) | ||
octokit (~> 1.15) | ||
puppet (~> 3.0) | ||
cardboard (1.0.1) | ||
boxen (~> 1.0) | ||
puppet-lint (~> 0.3) | ||
puppetlabs_spec_helper (~> 0.4) | ||
rspec-puppet (~> 0.1) | ||
diff-lcs (1.2.1) | ||
facter (1.6.18) | ||
faraday (0.8.6) | ||
multipart-post (~> 1.1) | ||
faraday_middleware (0.9.0) | ||
faraday (>= 0.7.4, < 0.9) | ||
hashie (1.2.0) | ||
hiera (1.0.0) | ||
highline (1.6.16) | ||
json (1.7.7) | ||
json_pure (1.7.7) | ||
librarian-puppet (0.9.8) | ||
json | ||
thor (~> 0.15) | ||
metaclass (0.0.1) | ||
mocha (0.13.3) | ||
metaclass (~> 0.0.1) | ||
multi_json (1.7.1) | ||
multipart-post (1.2.0) | ||
netrc (0.7.7) | ||
octokit (1.23.0) | ||
addressable (~> 2.2) | ||
faraday (~> 0.8) | ||
faraday_middleware (~> 0.9) | ||
hashie (~> 1.2) | ||
multi_json (~> 1.3) | ||
netrc (~> 0.7.7) | ||
puppet (3.1.1) | ||
facter (~> 1.6) | ||
hiera (~> 1.0) | ||
puppet-lint (0.3.2) | ||
puppetlabs_spec_helper (0.4.1) | ||
mocha (>= 0.10.5) | ||
rake | ||
rspec (>= 2.9.0) | ||
rspec-puppet (>= 0.1.1) | ||
rake (10.0.3) | ||
rspec (2.13.0) | ||
rspec-core (~> 2.13.0) | ||
rspec-expectations (~> 2.13.0) | ||
rspec-mocks (~> 2.13.0) | ||
rspec-core (2.13.1) | ||
rspec-expectations (2.13.0) | ||
diff-lcs (>= 1.1.3, < 2.0) | ||
rspec-mocks (2.13.0) | ||
rspec-puppet (0.1.6) | ||
rspec | ||
thor (0.17.0) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
cardboard (~> 1.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# BBEdit - It Doesn't Suck | ||
|
||
Installs [BBEdit](http://www.barebones.com/products/bbedit/). | ||
|
||
Does not include license but there is a free alternative Textwrangler. | ||
|
||
## Usage: | ||
|
||
``` puppet | ||
include bbedit | ||
``` | ||
|
||
**Note**: Right now this does not install cmd tools so you will have to run that from the app menu on your own. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Public: Install BBedit | ||
# This does not include any license. | ||
# | ||
# Usage: | ||
# | ||
# include bbedit | ||
class bbedit { | ||
package { 'BBEdit': | ||
source => 'http://pine.barebones.com/files/BBEdit_10.5.2.dmg', | ||
provider => 'appdmg' | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/sh | ||
# Make sure deps are available and run a Cardboard command. | ||
|
||
set -e | ||
|
||
cd $(dirname "$0")/.. | ||
|
||
BUNDLE=.bundle | ||
BIN=$BUNDLE/binstubs | ||
SCRIPT=$(basename "$0") | ||
|
||
BUNDLE_ARGS="--binstubs $BIN --path $BUNDLE --quiet" | ||
[ "cibuild" = "$SCRIPT" ] && BUNDLE_ARGS="$BUNDLE_ARGS --no-quiet" | ||
|
||
rm -rf {$BIN,$BUNDLE/config} | ||
bundle install $BUNDLE_ARGS | ||
|
||
bundle exec cardboard bootstrap | ||
exec bundle exec cardboard "$SCRIPT" "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cardboard-exec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cardboard-exec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cardboard-exec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cardboard-exec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
require 'spec_helper' | ||
|
||
describe 'bbedit' do | ||
it do | ||
should contain_package('BBEdit').with({ | ||
:source => 'http://pine.barebones.com/files/BBEdit_10.5.2.dmg', | ||
:provider => 'appdmg' | ||
}) | ||
end | ||
end |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../manifests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
require 'rspec-puppet' | ||
|
||
fixture_path = File.expand_path(File.join(__FILE__, '..', 'fixtures')) | ||
|
||
RSpec.configure do |c| | ||
c.module_path = File.join(fixture_path, 'modules') | ||
c.manifest_dir = File.join(fixture_path, 'manifests') | ||
end |