-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from rehanone/develop/pdk
migrate module to pdk.
- Loading branch information
Showing
23 changed files
with
852 additions
and
402 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,23 +1,22 @@ | ||
# This file is generated by ModuleSync, do not edit. | ||
*.iml | ||
.*.sw[op] | ||
.DS_Store | ||
.bundle/ | ||
.idea/ | ||
.metadata | ||
.vagrant/ | ||
.yardoc | ||
.yardwarns | ||
Gemfile.local | ||
Gemfile.lock | ||
bin/ | ||
coverage/ | ||
doc/ | ||
junit/ | ||
log/ | ||
pkg/ | ||
spec/fixtures/manifests/ | ||
spec/fixtures/modules/ | ||
tmp/ | ||
vendor/ | ||
|
||
*.iml | ||
/.bundle/ | ||
/.idea/ | ||
/.vagrant/ | ||
/coverage/ | ||
/bin/ | ||
/doc/ | ||
/Gemfile.local | ||
/Gemfile.lock | ||
/junit/ | ||
/log/ | ||
/pkg/ | ||
/spec/fixtures/manifests/ | ||
/spec/fixtures/modules/ | ||
/tmp/ | ||
/vendor/ | ||
/convert_report.txt | ||
.DS_Store |
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,70 @@ | ||
--- | ||
stages: | ||
- test_2.4.1 | ||
- test_2.1.9 | ||
|
||
before_script: | ||
- bundle -v | ||
- rm Gemfile.lock || true | ||
- gem update --system | ||
- gem update bundler | ||
- gem --version | ||
- bundle -v | ||
- bundle install --without system_tests | ||
|
||
rubocop-2.4.1: | ||
stage: test_2.4.1 | ||
image: ruby:2.4.1 | ||
script: | ||
- bundle exec rake rubocop | ||
|
||
syntax-2.4.1: | ||
stage: test_2.4.1 | ||
image: ruby:2.4.1 | ||
script: | ||
- bundle exec rake syntax lint | ||
|
||
metadata-2.4.1: | ||
stage: test_2.4.1 | ||
image: ruby:2.4.1 | ||
script: | ||
- bundle exec rake metadata_lint | ||
|
||
rspec-puppet-2.4.1: | ||
stage: test_2.4.1 | ||
image: ruby:2.4.1 | ||
variables: | ||
PUPPET_GEM_VERSION: ~> 4.0 | ||
CHECK: spec | ||
script: | ||
- bundle update | ||
- bundle exec rake $CHECK | ||
|
||
rubocop-2.1.9: | ||
stage: test_2.1.9 | ||
image: ruby:2.1.9 | ||
script: | ||
- bundle exec rake rubocop | ||
|
||
syntax-2.1.9: | ||
stage: test_2.1.9 | ||
image: ruby:2.1.9 | ||
script: | ||
- bundle exec rake syntax lint | ||
|
||
metadata-2.1.9: | ||
stage: test_2.1.9 | ||
image: ruby:2.1.9 | ||
script: | ||
- bundle exec rake metadata_lint | ||
|
||
rspec-puppet-2.1.9: | ||
stage: test_2.1.9 | ||
image: ruby:2.1.9 | ||
variables: | ||
PUPPET_GEM_VERSION: ~> 4.0 | ||
CHECK: spec | ||
script: | ||
- bundle update | ||
- bundle exec rake $CHECK | ||
|
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,22 @@ | ||
.*.sw[op] | ||
.metadata | ||
.yardoc | ||
.yardwarns | ||
*.iml | ||
/.bundle/ | ||
/.idea/ | ||
/.vagrant/ | ||
/coverage/ | ||
/bin/ | ||
/doc/ | ||
/Gemfile.local | ||
/Gemfile.lock | ||
/junit/ | ||
/log/ | ||
/pkg/ | ||
/spec/fixtures/manifests/ | ||
/spec/fixtures/modules/ | ||
/tmp/ | ||
/vendor/ | ||
/convert_report.txt | ||
.DS_Store |
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
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,101 @@ | ||
--- | ||
appveyor.yml: | ||
environment: | ||
PUPPET_GEM_VERSION: "~> 4.0" | ||
matrix: | ||
- RUBY_VERSION: 24-x64 | ||
CHECK: "syntax lint" | ||
- RUBY_VERSION: 24-x64 | ||
CHECK: metadata_lint | ||
- RUBY_VERSION: 24-x64 | ||
CHECK: rubocop | ||
|
||
.gitlab-ci.yml: | ||
delete: true | ||
|
||
.travis.yml: | ||
bundler_args: "" | ||
|
||
script: "\"bundle exec rake release_checks\"" | ||
docker_sets: | ||
- set: docker/ubuntu-16.04 | ||
- set: docker/ubuntu-14.04 | ||
- set: docker/debian-8 | ||
- set: docker/centos-7 | ||
docker_defaults: | ||
# values will replace @@SET@@ with the docker_sets' value | ||
rvm: 2.4.1 | ||
sudo: required | ||
dist: trusty | ||
services: docker | ||
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=@@SET@@ | ||
script: bundle exec rake beaker | ||
|
||
Gemfile: | ||
required: | ||
':system_tests': | ||
- gem: 'puppet-module-posix-system-r#{minor_version}' | ||
platforms: ruby | ||
- gem: 'puppet-module-win-system-r#{minor_version}' | ||
platforms: | ||
- mswin | ||
- mingw | ||
- x64_mingw | ||
- gem: beaker | ||
version: '~> 3.13' | ||
from_env: BEAKER_VERSION | ||
- gem: beaker-abs | ||
from_env: BEAKER_ABS_VERSION | ||
version: '~> 0.1' | ||
- gem: beaker-pe | ||
- gem: beaker-hostgenerator | ||
from_env: BEAKER_HOSTGENERATOR_VERSION | ||
- gem: beaker-rspec | ||
from_env: BEAKER_RSPEC_VERSION | ||
':development': | ||
- gem: puppet-blacksmith | ||
version: '~> 3.4' | ||
|
||
Rakefile: | ||
requires: | ||
- puppet_blacksmith/rake_tasks | ||
|
||
LICENSE: | ||
license_type: 'apache2' # Available options 'puppetpe' and 'apache2' (default is apache2) | ||
|
||
MAINTAINERS.md: | ||
maintainers: | ||
- "Puppet Forge Modules Team `forge-modules |at| puppet |dot| com`" | ||
|
||
# Apache 2 NOTICE file generation. Please mark unmanaged:true if using puppetpe license type | ||
NOTICE: | ||
copyright_holders: | ||
- name: 'Puppet, Inc.' | ||
begin: 'latest' | ||
# - name: '<name of holder>' (required) | ||
# begin: <year or 'latest'> (optional) (latest is the year when modsync is run) | ||
# end: <year or 'latest'> (optional) (latest is the year when modsync is run) | ||
|
||
CONTRIBUTING.md: | ||
|
||
spec/spec.opts: | ||
delete: true | ||
|
||
.project: | ||
delete: true | ||
|
||
locales/config.yaml: | ||
copyright_holder: 'Rehan Mahmood' | ||
comments_tag: 'TRANSLATOR' | ||
bugs_address: 'https://github.com/rehanone' | ||
default_locale: 'en' | ||
source_files: | ||
- './lib/**/*.rb' | ||
|
||
spec/acceptance/nodesets/centos-7-x64.yml: | ||
spec/acceptance/nodesets/debian-8-x64.yml: | ||
spec/acceptance/nodesets/default.yml: | ||
spec/acceptance/nodesets/docker/centos-7.yml: | ||
spec/acceptance/nodesets/docker/debian-8.yml: | ||
spec/acceptance/nodesets/docker/ubuntu-14.04.yml: | ||
spec/acceptance/nodesets/docker/ubuntu-16.04.yml: |
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,35 +1,76 @@ | ||
#This file is generated by ModuleSync, do not edit. | ||
--- | ||
sudo: false | ||
dist: trusty | ||
language: ruby | ||
cache: bundler | ||
script: "bundle exec rake release_checks" | ||
before_install: | ||
- bundle -v | ||
- rm Gemfile.lock || true | ||
- gem update --system | ||
- gem update bundler | ||
- gem --version | ||
- bundle -v | ||
script: | ||
- 'bundle exec rake $CHECK' | ||
bundler_args: | ||
rvm: | ||
- 2.4.1 | ||
env: | ||
- PUPPET_GEM_VERSION="~> 5.0" CHECK=spec | ||
matrix: | ||
fast_finish: true | ||
include: | ||
- rvm: 2.3.3 | ||
dist: trusty | ||
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/ubuntu-16.04 | ||
script: bundle exec rake beaker | ||
services: docker | ||
sudo: required | ||
- rvm: 2.3.3 | ||
dist: trusty | ||
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/ubuntu-14.04 | ||
script: bundle exec rake beaker | ||
services: docker | ||
sudo: required | ||
- rvm: 2.3.3 | ||
dist: trusty | ||
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/centos-7 | ||
script: bundle exec rake beaker | ||
services: docker | ||
sudo: required | ||
- rvm: 2.4.1 | ||
bundler_args: --without system_tests | ||
env: PUPPET_GEM_VERSION="~> 5.0" | ||
- rvm: 2.1.9 | ||
bundler_args: --without system_tests | ||
env: PUPPET_GEM_VERSION="~> 4.0" | ||
- | ||
dist: trusty | ||
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/ubuntu-16.04 | ||
rvm: 2.4.1 | ||
script: bundle exec rake beaker | ||
services: docker | ||
sudo: required | ||
- | ||
dist: trusty | ||
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/ubuntu-14.04 | ||
rvm: 2.4.1 | ||
script: bundle exec rake beaker | ||
services: docker | ||
sudo: required | ||
- | ||
dist: trusty | ||
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/debian-8 | ||
rvm: 2.4.1 | ||
script: bundle exec rake beaker | ||
services: docker | ||
sudo: required | ||
- | ||
dist: trusty | ||
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/centos-7 | ||
rvm: 2.4.1 | ||
script: bundle exec rake beaker | ||
services: docker | ||
sudo: required | ||
- | ||
env: CHECK=rubocop | ||
- | ||
env: CHECK="syntax lint" | ||
- | ||
env: CHECK=metadata_lint | ||
- | ||
env: CHECK=spec | ||
- | ||
env: PUPPET_GEM_VERSION="~> 4.0" CHECK=spec | ||
rvm: 2.1.9 | ||
branches: | ||
only: | ||
- master | ||
- /^v\d/ | ||
notifications: | ||
email: false | ||
deploy: | ||
provider: puppetforge | ||
user: puppet | ||
password: | ||
secure: "" | ||
on: | ||
tags: true | ||
all_branches: true | ||
condition: "$DEPLOY_TO_FORGE = yes" |
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 @@ | ||
--markup markdown |
Oops, something went wrong.