Skip to content

Commit 08550d7

Browse files
committed
Merge branch 'local_work'
2 parents 24b2c14 + da5db58 commit 08550d7

File tree

119 files changed

+5222
-797
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+5222
-797
lines changed

.fixtures.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,11 @@ fixtures:
44
stdlib: "https://github.com/puppetlabs/puppetlabs-stdlib.git"
55
firewall: "https://github.com/puppetlabs/puppetlabs-firewall.git"
66
concat: "https://github.com/puppetlabs/puppetlabs-concat.git"
7+
yumrepo_core:
8+
repo: "https://github.com/puppetlabs/puppetlabs-yumrepo_core.git"
9+
puppet_version: ">= 6.0.0"
10+
augeas_core:
11+
repo: "https://github.com/puppetlabs/puppetlabs-augeas_core.git"
12+
puppet_version: ">= 6.0.0"
713
symlinks:
814
postgresql: "#{source_dir}"

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#This file is generated by ModuleSync, do not edit.
21
*.rb eol=lf
32
*.erb eol=lf
43
*.pp eol=lf
54
*.sh eol=lf
5+
*.epp eol=lf

.github_changelog_generator

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
user=puppetlabs
2+
project=puppetlabs-postgresql
3+
since_tag=5.3.0

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.git/
12
.*.sw[op]
23
.metadata
34
.yardoc
@@ -19,4 +20,7 @@
1920
/tmp/
2021
/vendor/
2122
/convert_report.txt
23+
/update_report.txt
2224
.DS_Store
25+
.envrc
26+
/inventory.yaml

.pdkignore

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
.git/
2+
.*.sw[op]
3+
.metadata
4+
.yardoc
5+
.yardwarns
6+
*.iml
7+
/.bundle/
8+
/.idea/
9+
/.vagrant/
10+
/coverage/
11+
/bin/
12+
/doc/
13+
/Gemfile.local
14+
/Gemfile.lock
15+
/junit/
16+
/log/
17+
/pkg/
18+
/spec/fixtures/manifests/
19+
/spec/fixtures/modules/
20+
/tmp/
21+
/vendor/
22+
/convert_report.txt
23+
/update_report.txt
24+
.DS_Store
25+
.envrc
26+
/inventory.yaml
27+
/appveyor.yml
28+
/.fixtures.yml
29+
/Gemfile
30+
/.gitattributes
31+
/.gitignore
32+
/.gitlab-ci.yml
33+
/.pdkignore
34+
/Rakefile
35+
/rakelib/
36+
/.rspec
37+
/.rubocop.yml
38+
/.travis.yml
39+
/.yardopts
40+
/spec/
41+
/.vscode/

.puppet-lint.rc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
--relative

.rubocop.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,21 @@ AllCops:
88
Exclude:
99
- bin/*
1010
- ".vendor/**/*"
11-
- Gemfile
12-
- Rakefile
11+
- "**/Gemfile"
12+
- "**/Rakefile"
1313
- pkg/**/*
1414
- spec/fixtures/**/*
1515
- vendor/**/*
16+
- "**/Puppetfile"
17+
- "**/Vagrantfile"
18+
- "**/Guardfile"
1619
Metrics/LineLength:
1720
Description: People have wide screens, use them.
1821
Max: 200
22+
GetText/DecorateString:
23+
Description: We don't want to decorate test output.
24+
Exclude:
25+
- spec/*
1926
RSpec/BeforeAfterAll:
2027
Description: Beware of using after(:all) as it may cause state to leak between tests.
2128
A necessary evil in acceptance testing.
@@ -65,6 +72,12 @@ Style/SymbolArray:
6572
EnforcedStyle: brackets
6673
RSpec/MessageSpies:
6774
EnforcedStyle: receive
75+
Style/Documentation:
76+
Exclude:
77+
- lib/puppet/parser/functions/**/*
78+
- spec/**/*
79+
Style/WordArray:
80+
EnforcedStyle: brackets
6881
Style/CollectionMethods:
6982
Enabled: true
7083
Style/MethodCalledOnDoEndBlock:
@@ -73,6 +86,8 @@ Style/StringMethods:
7386
Enabled: true
7487
Layout/EndOfLine:
7588
Enabled: false
89+
Layout/IndentHeredoc:
90+
Enabled: false
7691
Metrics/AbcSize:
7792
Enabled: false
7893
Metrics/BlockLength:

.sync.yml

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
---
2+
.gitignore:
3+
required:
4+
- ---.project
5+
6+
.gitlab-ci.yml:
7+
unmanaged: true
8+
29
.travis.yml:
3-
bundle_args: --without system_tests
410
docker_sets:
511
- set: docker/centos-7
6-
options:
712
- set: docker/ubuntu-14.04
8-
options:
913
docker_defaults:
1014
bundler_args: ""
1115
secure: ""
1216
branches:
1317
- release
14-
extras:
15-
- env: CHECK=release_checks
16-
rvm: 2.1.9
18+
19+
appveyor.yml:
20+
delete: true
1721

1822
Gemfile:
1923
required:
@@ -25,22 +29,16 @@ Gemfile:
2529
- mswin
2630
- mingw
2731
- x64_mingw
28-
- gem: beaker
29-
version: '~> 3.13'
30-
from_env: BEAKER_VERSION
31-
- gem: beaker-abs
32-
from_env: BEAKER_ABS_VERSION
33-
version: '~> 0.1'
34-
- gem: beaker-pe
35-
- gem: beaker-hostgenerator
36-
from_env: BEAKER_HOSTGENERATOR_VERSION
37-
- gem: beaker-rspec
38-
from_env: BEAKER_RSPEC_VERSION
32+
optional:
3933
':development':
40-
- gem: puppet-blacksmith
41-
version: '~> 3.4'
34+
- gem: 'github_changelog_generator'
35+
git: 'https://github.com/skywinder/github-changelog-generator'
36+
ref: '20ee04ba1234e9e83eb2ffb5056e23d641c7a018'
37+
condition: "Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.2.2')"
4238

4339
Rakefile:
44-
requires:
45-
- puppet_blacksmith/rake_tasks
46-
- puppet-lint/tasks/puppet-lint
40+
changelog_user: puppetlabs
41+
42+
spec/spec_helper.rb:
43+
mock_with: ':rspec'
44+
coverage_report: true

.travis.yml

Lines changed: 26 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,59 @@
11
---
2-
sudo: false
3-
dist: trusty
42
language: ruby
53
cache: bundler
64
before_install:
75
- bundle -v
8-
- rm Gemfile.lock || true
9-
- gem update --system
10-
- gem update bundler
6+
- rm -f Gemfile.lock
7+
- gem update --system $RUBYGEMS_VERSION
118
- gem --version
129
- bundle -v
1310
script:
1411
- 'bundle exec rake $CHECK'
1512
bundler_args: --without system_tests
1613
rvm:
17-
- 2.4.1
18-
env:
19-
- PUPPET_GEM_VERSION="~> 5.0" CHECK=spec
14+
- 2.5.3
15+
stages:
16+
- static
17+
- spec
18+
- acceptance
19+
-
20+
if: tag =~ ^v\d
21+
name: deploy
2022
matrix:
2123
fast_finish: true
2224
include:
2325
-
2426
bundler_args:
2527
dist: trusty
26-
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/centos-7
27-
rvm: 2.4.1
28+
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_PUPPET_COLLECTION=puppet6 BEAKER_set=docker/centos-7 BEAKER_TESTMODE=apply
29+
rvm: 2.5.3
2830
script: bundle exec rake beaker
2931
services: docker
32+
stage: acceptance
3033
sudo: required
3134
-
3235
bundler_args:
3336
dist: trusty
34-
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/ubuntu-14.04
35-
rvm: 2.4.1
37+
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_PUPPET_COLLECTION=puppet6 BEAKER_set=docker/ubuntu-14.04 BEAKER_TESTMODE=apply
38+
rvm: 2.5.3
3639
script: bundle exec rake beaker
3740
services: docker
41+
stage: acceptance
3842
sudo: required
3943
-
40-
env: CHECK=rubocop
44+
env: CHECK="check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop syntax lint metadata_lint"
45+
stage: static
4146
-
42-
env: CHECK="syntax lint"
47+
env: PUPPET_GEM_VERSION="~> 5.0" CHECK=parallel_spec
48+
rvm: 2.4.5
49+
stage: spec
4350
-
44-
env: CHECK=metadata_lint
51+
env: PUPPET_GEM_VERSION="~> 6.0" CHECK=parallel_spec
52+
rvm: 2.5.3
53+
stage: spec
4554
-
46-
env: CHECK=spec
47-
-
48-
env: PUPPET_GEM_VERSION="~> 4.0" CHECK=spec
49-
rvm: 2.1.9
50-
-
51-
env: CHECK=release_checks
52-
rvm: 2.1.9
55+
env: DEPLOY_TO_FORGE=yes
56+
stage: deploy
5357
branches:
5458
only:
5559
- master

.yardopts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
--markup markdown

0 commit comments

Comments
 (0)