-
Notifications
You must be signed in to change notification settings - Fork 9
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
Joshua Hoblitt
committed
Aug 30, 2013
1 parent
85f8fa1
commit a1b1c78
Showing
11 changed files
with
165 additions
and
13 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,5 @@ | ||
fixtures: | ||
repositories: | ||
"stdlib": "git://github.com/puppetlabs/puppetlabs-stdlib.git" | ||
symlinks: | ||
"policykit": "#{source_dir}" |
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,6 @@ | ||
pkg/ | ||
spec/fixtures/ | ||
Gemfile.lock | ||
*.orig | ||
*.rej | ||
*.patch |
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,31 @@ | ||
language: ruby | ||
rvm: | ||
- 1.8.7 | ||
- 1.9.3 | ||
- 2.0.0 | ||
- ruby-head | ||
env: | ||
- PUPPET_GEM_VERSION="~> 2.7.0" | ||
- PUPPET_GEM_VERSION="~> 3.0.0" | ||
- PUPPET_GEM_VERSION="~> 3.1.0" | ||
- PUPPET_GEM_VERSION="~> 3.2.1" | ||
matrix: | ||
allow_failures: | ||
- rvm: ruby-head | ||
exclude: | ||
- rvm: 1.9.3 | ||
env: PUPPET_GEM_VERSION="~> 2.7.0" | ||
- rvm: 2.0.0 | ||
env: PUPPET_GEM_VERSION="~> 2.7.0" | ||
- rvm: 2.0.0 | ||
env: PUPPET_GEM_VERSION="~> 3.0.0" | ||
- rvm: 2.0.0 | ||
env: PUPPET_GEM_VERSION="~> 3.1.0" | ||
- rvm: ruby-head | ||
env: PUPPET_GEM_VERSION="~> 2.7.0" | ||
- rvm: ruby-head | ||
env: PUPPET_GEM_VERSION="~> 3.0.0" | ||
- rvm: ruby-head | ||
env: PUPPET_GEM_VERSION="~> 3.1.0" | ||
notifications: | ||
email: false |
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,14 @@ | ||
source 'https://rubygems.org' | ||
|
||
if puppetversion = ENV['PUPPET_GEM_VERSION'] | ||
gem 'puppet', puppetversion, :require => false | ||
else | ||
gem 'puppet', :require => false | ||
end | ||
|
||
gem 'rake' | ||
gem 'puppetlabs_spec_helper' | ||
gem 'puppet-lint' | ||
gem 'puppet-syntax' | ||
|
||
# vim:ft=ruby |
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,30 @@ | ||
The original code is licensed under GPLv3 per the original README file. | ||
--- | ||
# | ||
# D-INFK SANS | ||
# =========== | ||
# | ||
# Copyright: Steven Armstrong, Nico Schottelius | ||
# | ||
# For an up-to-date version have a look at http://git.sans.ethz.ch/, | ||
# | ||
# License: GPLv3 | ||
# | ||
--- | ||
|
||
All contributions to the original code base by Joshua Hoblitt are licensed | ||
under the Apache License, Version 2.0. | ||
|
||
Copyright (C) 2013 Joshua Hoblitt <[email protected]> | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. |
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 @@ | ||
name 'jhoblitt-policykit' | ||
version '1.0.0' | ||
|
||
author 'Joshua Hoblitt <[email protected]>' | ||
license 'GPLv3 + Apache' | ||
project_page 'https://github.com/jhoblitt/puppet-policykit' | ||
source 'https://github.com/jhoblitt/puppet-policykit.git' | ||
summary 'Manages the policykit package' | ||
description 'Manages the policykit package' | ||
dependency 'puppetlabs/stdlib', '>= 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,45 @@ | ||
Puppet policykit Module | ||
========================= | ||
|
||
[![Build Status](https://travis-ci.org/jhoblitt/puppet-policykit.png)](https://travis-ci.org/jhoblitt/puppet-policykit) | ||
|
||
|
||
#### Table of Contents | ||
|
||
1. [Overview](#overview) | ||
2. [Description](#description) | ||
3. [Usage](#usage) | ||
4. [Limitations](#limitations) | ||
* [Tested Platforms](#tested-platforms) | ||
5. [Support](#support) | ||
|
||
Overview | ||
-------- | ||
|
||
Manages the policykit package | ||
|
||
|
||
Description | ||
----------- | ||
|
||
|
||
Usage | ||
----- | ||
|
||
Limitations | ||
----------- | ||
|
||
At present, only support for `$::osfamily == 'RedHat'` has been implimented. | ||
Adding other Linux distrubtions should be trivial. | ||
|
||
### Tested on | ||
|
||
* el6.x | ||
|
||
|
||
Support | ||
------- | ||
|
||
Please log tickets and issues at [github](https://github.com/jhoblitt/puppet-module_skel/issues) | ||
|
||
|
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,14 @@ | ||
require 'puppetlabs_spec_helper/rake_tasks' | ||
require 'puppet-syntax/tasks/puppet-syntax' | ||
require 'puppet-lint/tasks/puppet-lint' | ||
|
||
#PuppetSyntax.exclude_paths = ["vendor/**/*"] | ||
#PuppetLint.configuration.send("disable_class_inherits_from_params_class") | ||
#PuppetLint.configuration.send("disable_variable_scope") | ||
PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", 'tests/**/*.pp'] | ||
|
||
task :default => [ | ||
:syntax, | ||
:lint, | ||
:spec, | ||
] |
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,9 @@ | ||
require 'spec_helper' | ||
|
||
describe 'policykit', :type => :class do | ||
|
||
describe 'for osfamily RedHat' do | ||
it { should contain_class('policykit') } | ||
end | ||
|
||
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 @@ | ||
require 'puppetlabs_spec_helper/module_spec_helper' |