File tree Expand file tree Collapse file tree 11 files changed +149
-0
lines changed
Expand file tree Collapse file tree 11 files changed +149
-0
lines changed Original file line number Diff line number Diff line change 1+ fixtures :
2+ repositories :
3+ " stdlib " : " git://github.com/puppetlabs/puppetlabs-stdlib.git"
4+ symlinks :
5+ " udev " : " #{source_dir}"
Original file line number Diff line number Diff line change 1+ pkg /
2+ spec /fixtures /
3+ Gemfile.lock
4+ * .orig
5+ * .rej
6+ * .patch
Original file line number Diff line number Diff line change 1+ language : ruby
2+ rvm :
3+ - 1.8.7
4+ - 1.9.3
5+ - 2.0.0
6+ - ruby-head
7+ env :
8+ - PUPPET_GEM_VERSION="~> 2.7.0"
9+ - PUPPET_GEM_VERSION="~> 3.0.0"
10+ - PUPPET_GEM_VERSION="~> 3.1.0"
11+ - PUPPET_GEM_VERSION="~> 3.2.1"
12+ matrix :
13+ allow_failures :
14+ - rvm : ruby-head
15+ exclude :
16+ - rvm : 1.9.3
17+ env : PUPPET_GEM_VERSION="~> 2.7.0"
18+ - rvm : 2.0.0
19+ env : PUPPET_GEM_VERSION="~> 2.7.0"
20+ - rvm : 2.0.0
21+ env : PUPPET_GEM_VERSION="~> 3.0.0"
22+ - rvm : 2.0.0
23+ env : PUPPET_GEM_VERSION="~> 3.1.0"
24+ - rvm : ruby-head
25+ env : PUPPET_GEM_VERSION="~> 2.7.0"
26+ - rvm : ruby-head
27+ env : PUPPET_GEM_VERSION="~> 3.0.0"
28+ - rvm : ruby-head
29+ env : PUPPET_GEM_VERSION="~> 3.1.0"
30+ notifications :
31+ email : false
Original file line number Diff line number Diff line change 1+ source 'https://rubygems.org'
2+
3+ if puppetversion = ENV [ 'PUPPET_GEM_VERSION' ]
4+ gem 'puppet' , puppetversion , :require => false
5+ else
6+ gem 'puppet' , :require => false
7+ end
8+
9+ gem 'rake'
10+ gem 'puppetlabs_spec_helper'
11+ gem 'puppet-lint'
12+ gem 'puppet-syntax'
13+
14+ # vim:ft=ruby
Original file line number Diff line number Diff line change 1+ Copyright (C) 2012-2013 Joshua Hoblitt <jhoblitt@cpan.org>
2+
3+ Licensed under the Apache License, Version 2.0 (the "License");
4+ you may not use this file except in compliance with the License.
5+ You may obtain a copy of the License at
6+
7+ http://www.apache.org/licenses/LICENSE-2.0
8+
9+ Unless required by applicable law or agreed to in writing, software
10+ distributed under the License is distributed on an "AS IS" BASIS,
11+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ See the License for the specific language governing permissions and
13+ limitations under the License.
Original file line number Diff line number Diff line change 1+ name ' jhoblitt-module_skel'
2+ version ' 0.0.1'
3+
4+ author ' Joshua Hoblitt <jhoblitt@cpan.org>'
5+ license ' Apache'
6+ project_page ' https://github.com/jhoblitt/puppet-module_skel'
7+ source ' https://github.com/jhoblitt/puppet-module_skel.git'
8+ summary ' module skeleton'
9+ description ' module skeleton'
10+ dependency ' puppetlabs/stdlib' , ' >= 1.0.0'
Original file line number Diff line number Diff line change 1+ Puppet module_skel Module
2+ =========================
3+
4+ [ ![ Build Status] ( https://travis-ci.org/jhoblitt/puppet-module_skel.png )] ( https://travis-ci.org/jhoblitt/puppet-module_skel )
5+
6+ #### Table of Contents
7+
8+ 1 . [ Overview] ( #overview )
9+ 2 . [ Description] ( #description )
10+ 3 . [ Usage] ( #usage )
11+ 4 . [ Limitations] ( #limitations )
12+ * [ Tested Platforms] ( #tested-platforms )
13+ 5 . [ Support] ( #support )
14+
15+
16+ Overview
17+ --------
18+
19+
20+ Description
21+ -----------
22+
23+
24+ Usage
25+ -----
26+
27+
28+ Limitations
29+ -----------
30+
31+ ### Tested Platforms
32+
33+
34+ Support
35+ -------
36+
37+ Please log tickets and issues at
38+ [ github] ( https://github.com/jhoblitt/puppet-module_skel/issues )
39+
Original file line number Diff line number Diff line change 1+ require 'puppetlabs_spec_helper/rake_tasks'
2+ require 'puppet-syntax/tasks/puppet-syntax'
3+ require 'puppet-lint/tasks/puppet-lint'
4+
5+ PuppetSyntax . exclude_paths = [ "spec/fixtures/**/*" ]
6+ #PuppetLint.configuration.send("disable_class_inherits_from_params_class")
7+ #PuppetLint.configuration.send("disable_variable_scope")
8+ PuppetLint . configuration . ignore_paths = [ 'pkg/**/*.pp' , 'spec/**/*.pp' , 'tests/**/*.pp' ]
9+
10+ task :default => [
11+ :syntax ,
12+ :lint ,
13+ :spec ,
14+ ]
Original file line number Diff line number Diff line change 1+ # == Class: udev
2+ #
3+ # simple template
4+ #
5+ class udev {
6+
7+ }
Original file line number Diff line number Diff line change 1+ require 'spec_helper'
2+
3+ describe 'udev' , :type => :class do
4+
5+ describe 'for osfamily RedHat' do
6+ it { should contain_class ( 'udev' ) }
7+ end
8+
9+ end
You can’t perform that action at this time.
0 commit comments