Skip to content

Commit e7e80dc

Browse files
authored
Merge pull request #654 from david22swan/IAC-982
(IAC-982) - Remove inappropriate terminology
2 parents f82a3f2 + 586842d commit e7e80dc

File tree

10 files changed

+26
-29
lines changed

10 files changed

+26
-29
lines changed

Diff for: .github/workflows/release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v1
2323
- name: Litmus Parallel
24-
uses: puppetlabs/action-litmus_parallel@master
24+
uses: puppetlabs/action-litmus_parallel@main
2525
with:
2626
platform: ${{ matrix.platform }}
2727
agent_family: ${{ matrix.agent_family }}
@@ -41,7 +41,7 @@ jobs:
4141
steps:
4242
- uses: actions/checkout@v1
4343
- name: Litmus Parallel
44-
uses: puppetlabs/action-litmus_parallel@master
44+
uses: puppetlabs/action-litmus_parallel@main
4545
with:
4646
platform: ${{ matrix.platform }}
4747
agent_family: ${{ matrix.agent_family }}
@@ -61,7 +61,7 @@ jobs:
6161
steps:
6262
- uses: actions/checkout@v1
6363
- name: Spec Tests
64-
uses: puppetlabs/action-litmus_spec@master
64+
uses: puppetlabs/action-litmus_spec@main
6565
with:
6666
puppet_gem_version: ${{ matrix.puppet_gem_version }}
6767
check: ${{ matrix.check }}

Diff for: .github/workflows/weekly.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v1
2222
- name: Litmus Parallel
23-
uses: puppetlabs/action-litmus_parallel@master
23+
uses: puppetlabs/action-litmus_parallel@main
2424
with:
2525
platform: ${{ matrix.platform }}
2626
agent_family: ${{ matrix.agent_family }}
@@ -40,7 +40,7 @@ jobs:
4040
steps:
4141
- uses: actions/checkout@v1
4242
- name: Litmus Parallel
43-
uses: puppetlabs/action-litmus_parallel@master
43+
uses: puppetlabs/action-litmus_parallel@main
4444
with:
4545
platform: ${{ matrix.platform }}
4646
agent_family: ${{ matrix.agent_family }}
@@ -60,7 +60,7 @@ jobs:
6060
steps:
6161
- uses: actions/checkout@v1
6262
- name: Spec Tests
63-
uses: puppetlabs/action-litmus_spec@master
63+
uses: puppetlabs/action-litmus_spec@main
6464
with:
6565
puppet_gem_version: ${{ matrix.puppet_gem_version }}
6666
check: ${{ matrix.check }}

Diff for: Gemfile

-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ group :development do
3030
gem "puppet-module-win-dev-r#{minor_version}", '~> 0.4', require: false, platforms: [:mswin, :mingw, :x64_mingw]
3131
gem "ruby-pwsh", require: false
3232
gem "github_changelog_generator", require: false, git: 'https://github.com/skywinder/github-changelog-generator', ref: '20ee04ba1234e9e83eb2ffb5056e23d641c7a018' if Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.2.2')
33-
gem 'ed25519', '>= 1.2', '< 2.0'
34-
gem 'bcrypt_pbkdf', '>= 1.0', '< 2.0'
3533
end
3634
group :system_tests do
3735
gem "puppet-module-posix-system-r#{minor_version}", require: false, platforms: [:ruby]

Diff for: README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status](https://travis-ci.org/puppetlabs/puppetlabs-docker.svg?branch=master)](https://travis-ci.org/puppetlabs/puppetlabs-docker)
1+
[![Build Status](https://travis-ci.org/puppetlabs/puppetlabs-docker.svg?branch=main)](https://travis-ci.org/puppetlabs/puppetlabs-docker)
22
[![Puppet Forge](https://img.shields.io/puppetforge/v/puppetlabs/docker.svg)](https://forge.puppetlabs.com/puppetlabs/docker)
33
[![Puppet Forge Downloads](http://img.shields.io/puppetforge/dt/puppetlabs/docker.svg)](https://forge.puppetlabs.com/puppetlabs/docker)
44
[![Puppet Forge Endorsement](https://img.shields.io/puppetforge/e/puppetlabs/docker.svg)](https://forge.puppetlabs.com/puppetlabs/docker)
@@ -655,11 +655,11 @@ To supply multiple overide compose files add the following to the manifest file:
655655

656656
```puppet
657657
docker_compose {'test':
658-
compose_files => ['master-docker-compose.yml', 'override-compose.yml'],
658+
compose_files => ['server-docker-compose.yml', 'override-compose.yml'],
659659
}
660660
```
661661

662-
Please note you should supply your master docker-compose file as the first element in the array. As per docker, multi compose file support compose files are merged in the order they are specified in the array.
662+
Please note you should supply your server docker-compose file as the first element in the array. As per docker, multi compose file support compose files are merged in the order they are specified in the array.
663663

664664
If you are using a v3.2 compose file or above on a Docker Swarm cluster, use the `docker::stack` class. Include the file resource before you run the stack command.
665665

@@ -1000,7 +1000,7 @@ docker::plugin {'foo/fooplugin:latest'
10001000

10011001
## Reference
10021002

1003-
For information on classes, types and functions see the [REFERENCE.md](https://github.com/puppetlabs/puppetlabs-docker/blob/master/REFERENCE.md).
1003+
For information on classes, types and functions see the [REFERENCE.md](https://github.com/puppetlabs/puppetlabs-docker/blob/main/REFERENCE.md).
10041004

10051005
## Limitations
10061006

@@ -1018,7 +1018,7 @@ This module supports:
10181018

10191019
## Development
10201020

1021-
If you would like to contribute to this module, see the guidelines in [CONTRIBUTING.MD](https://github.com/puppetlabs/puppetlabs-docker/blob/master/CONTRIBUTING.md).
1021+
If you would like to contribute to this module, see the guidelines in [CONTRIBUTING.MD](https://github.com/puppetlabs/puppetlabs-docker/blob/main/CONTRIBUTING.md).
10221022

10231023
## Acceptance
10241024

Diff for: REFERENCE.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ from the registry
7373
* [`swarm_init`](#swarm_init): Initializes a swarm
7474
* [`swarm_join`](#swarm_join): Join a swarm
7575
* [`swarm_leave`](#swarm_leave): Leave a swarm
76-
* [`swarm_token`](#swarm_token): Gets the swarm token from the master
76+
* [`swarm_token`](#swarm_token): Gets the swarm token from the server
7777
* [`swarm_update`](#swarm_update): Updates an existing service.
7878

7979
## Classes
@@ -3544,7 +3544,7 @@ Auxiliary ipv4 or ipv6 addresses used by the Network driver
35443544

35453545
##### `gateway`
35463546

3547-
An ipv4 or ipv6 gateway for the master subnet
3547+
An ipv4 or ipv6 gateway for the server subnet
35483548

35493549
##### `ip_range`
35503550

@@ -4139,7 +4139,7 @@ Force this node to leave the swarm, ignoring warnings
41394139

41404140
### `swarm_token`
41414141

4142-
Gets the swarm token from the master
4142+
Gets the swarm token from the server
41434143

41444144
**Supports noop?** false
41454145

Diff for: Rakefile

+6-7
Original file line numberDiff line numberDiff line change
@@ -53,36 +53,35 @@ if Bundler.rubygems.find_name('github_changelog_generator').any?
5353
config.header = "# Change log\n\nAll notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org)."
5454
config.add_pr_wo_labels = true
5555
config.issues = false
56-
config.merge_prefix = "### UNCATEGORIZED PRS; GO LABEL THEM"
56+
config.merge_prefix = "### UNCATEGORIZED PRS; LABEL THEM ON GITHUB"
5757
config.configure_sections = {
5858
"Changed" => {
5959
"prefix" => "### Changed",
6060
"labels" => ["backwards-incompatible"],
6161
},
6262
"Added" => {
6363
"prefix" => "### Added",
64-
"labels" => ["feature", "enhancement"],
64+
"labels" => ["enhancement", "feature"],
6565
},
6666
"Fixed" => {
6767
"prefix" => "### Fixed",
68-
"labels" => ["bugfix"],
68+
"labels" => ["bug", "documentation", "bugfix"],
6969
},
7070
}
7171
end
7272
else
7373
desc 'Generate a Changelog from GitHub'
7474
task :changelog do
7575
raise <<EOM
76-
The changelog tasks depends on unreleased features of the github_changelog_generator gem.
76+
The changelog tasks depends on recent features of the github_changelog_generator gem.
7777
Please manually add it to your .sync.yml for now, and run `pdk update`:
7878
---
7979
Gemfile:
8080
optional:
8181
':development':
8282
- gem: 'github_changelog_generator'
83-
git: 'https://github.com/skywinder/github-changelog-generator'
84-
ref: '20ee04ba1234e9e83eb2ffb5056e23d641c7a018'
85-
condition: "Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.2.2')"
83+
version: '~> 1.15'
84+
condition: "Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.3.0')"
8685
EOM
8786
end
8887
end

Diff for: lib/puppet/type/docker_network.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
end
1919

2020
newparam(:gateway) do
21-
desc 'An ipv4 or ipv6 gateway for the master subnet'
21+
desc 'An ipv4 or ipv6 gateway for the server subnet'
2222
end
2323

2424
newparam(:ip_range) do

Diff for: metadata.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"version_requirement": ">= 5.5.10 < 7.0.0"
7474
}
7575
],
76-
"pdk-version": "1.17.0",
77-
"template-url": "https://github.com/puppetlabs/pdk-templates#master",
78-
"template-ref": "heads/master-0-g095317c"
76+
"pdk-version": "1.18.1",
77+
"template-url": "https://github.com/puppetlabs/pdk-templates#main",
78+
"template-ref": "remotes/origin/main-0-g8f10887"
7979
}

Diff for: spec/acceptance_swarm/swarm_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class { 'docker': #{docker_args} }
7272
end
7373
end
7474

75-
context 'Creating a swarm master' do
75+
context 'Creating a swarm server' do
7676
let(:token) { shell('docker swarm join-token -q worker').stdout.strip }
7777

7878
it 'is idempotent' do

Diff for: tasks/swarm_token.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"description": "Gets the swarm token from the master",
2+
"description": "Gets the swarm token from the server",
33
"input_method": "stdin",
44
"parameters": {
55
"node_role": {

0 commit comments

Comments
 (0)