-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
4 changed files
with
49 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 |
---|---|---|
@@ -1 +1,2 @@ | ||
.*.swp | ||
/pkg |
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 @@ | ||
name 'stesie-gluon' | ||
version '0.1.0' | ||
source 'https://github.com/ffansbach/gluon-puppet' | ||
author 'stesie' | ||
license 'Apache License, Version 2.0' | ||
summary 'puppet module to ease setup of gluon gateway server' | ||
description 'A puppet module to set up everything needed for a Freifunk Mesh Gateway, using Gluon firmware.' | ||
project_page 'https://github.com/ffansbach/' | ||
|
||
dependency 'puppetlabs/apache', '>= 1.1.1' | ||
dependency 'puppetlabs/apt', '>= 1.6.0' | ||
dependency 'puppetlabs/concat', '>= 1.1.1' | ||
dependency 'puppetlabs/firewall', '>= 1.1.3' | ||
dependency 'camptocamp/kmod', '>= 0.1.3' | ||
dependency 'puppetlabs/mysql', '>= 2.3.1' | ||
dependency 'example42/network', '>= 3.1.14' | ||
dependency 'puppetlabs/stdlib', '>= 4.3.2' | ||
dependency 'thias/sysctl', '>= 1.0.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,17 @@ | ||
dir = File.expand_path(File.dirname(__FILE__)) | ||
$LOAD_PATH.unshift File.join(dir, 'lib') | ||
|
||
require 'mocha' | ||
require 'puppet' | ||
require 'rspec' | ||
require 'spec/autorun' | ||
|
||
Spec::Runner.configure do |config| | ||
config.mock_with :mocha | ||
end | ||
|
||
# We need this because the RAL uses 'should' as a method. This | ||
# allows us the same behaviour but with a different method name. | ||
class Object | ||
alias :must :should | ||
end |
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 @@ | ||
# The baseline for module testing used by Puppet Labs is that each manifest | ||
# should have a corresponding test manifest that declares that class or defined | ||
# type. | ||
# | ||
# Tests are then run by using puppet apply --noop (to check for compilation | ||
# errors and view a log of events) or by fully applying the test in a virtual | ||
# environment (to compare the resulting system state to the desired state). | ||
# | ||
# Learn more about module testing here: | ||
# http://docs.puppetlabs.com/guides/tests_smoke.html | ||
# | ||
include gluon |