Skip to content

Commit 3d33fb9

Browse files
Merge pull request #275 from puppetlabs/MODULES-10373
(MODULES-10373) - Support added for Changelog Generator
2 parents 7d5c681 + 2bfd55a commit 3d33fb9

File tree

5 files changed

+209
-4
lines changed

5 files changed

+209
-4
lines changed

.sync.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ Gemfile:
3030
optional:
3131
":development":
3232
- gem: ruby-pwsh
33+
- gem: github_changelog_generator
34+
git: https://github.com/skywinder/github-changelog-generator
35+
ref: 20ee04ba1234e9e83eb2ffb5056e23d641c7a018
36+
condition: Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.2.2')
3337
required:
3438
':system_tests':
3539
- gem: 'puppet-module-posix-system-r#{minor_version}'

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ before_install:
88
- if [ $BUNDLER_VERSION ]; then gem install -v $BUNDLER_VERSION bundler --no-rdoc --no-ri; fi
99
- bundle -v
1010
- rm -f Gemfile.lock
11-
- gem update --system $RUBYGEMS_VERSION
11+
- "# Update system gems if requested. This is useful to temporarily workaround troubles in the test runner"
12+
- "# See https://github.com/puppetlabs/pdk-templates/commit/705154d5c437796b821691b707156e1b056d244f for an example of how this was used"
13+
- '[ -z "$RUBYGEMS_VERSION" ] || yes | gem update --system $RUBYGEMS_VERSION'
1214
- gem --version
1315
- bundle -v
1416
script:

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ group :development do
2929
gem "puppet-module-win-default-r#{minor_version}", '~> 0.3', require: false, platforms: [:mswin, :mingw, :x64_mingw]
3030
gem "puppet-module-win-dev-r#{minor_version}", '~> 0.3', require: false, platforms: [:mswin, :mingw, :x64_mingw]
3131
gem "ruby-pwsh", require: false
32+
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')
3233
end
3334
group :system_tests do
3435
gem "puppet-module-posix-system-r#{minor_version}", require: false, platforms: [:ruby]

HISTORY.md

Lines changed: 198 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,198 @@
1+
## 2.3.0
2+
3+
### Added
4+
5+
- Metadata for supporting Windows Server 2019 ([FM-7693](https://tickets.puppetlabs.com/browse/FM-7693))
6+
- Added a 'pwsh' provider for PowerShell Core ([MODULES-8355](https://tickets.puppetlabs.com/browse/MODULES-8355), [MODULES-8356](https://tickets.puppetlabs.com/browse/MODULES-8356), [MODULES-8357](https://tickets.puppetlabs.com/browse/MODULES-8357), [MODULES-8358](https://tickets.puppetlabs.com/browse/MODULES-8358), [MODULES-8359](https://tickets.puppetlabs.com/browse/MODULES-8359))
7+
- Updated metadata for PowerShell Core support (CentOS, Debian, Fedora, OSX and RedHat) ([MODULES-8356](https://tickets.puppetlabs.com/browse/MODULES-8356))
8+
9+
### Changed
10+
11+
- Only initialise constant when not defined ([MODULES-7067](https://tickets.puppetlabs.com/browse/MODULES-7067))
12+
13+
### Fixed
14+
15+
- Improved pipe reading in the PowerShell Manager ([MODULES-8748](https://tickets.puppetlabs.com/browse/MODULES-8748))
16+
17+
## [2.2.0] - 2018-10-29
18+
19+
### Added
20+
21+
- Added support for Puppet 6 ([MODULES-7833](https://tickets.puppetlabs.com/browse/MODULES-7833))
22+
23+
### Changed
24+
25+
- Updated the module to PDK format ([MODULES-7402](https://tickets.puppetlabs.com/browse/MODULES-7402))
26+
- Updated Beaker to version 4 ([MODULES-7658](https://tickets.puppetlabs.com/browse/MODULES-7658))
27+
28+
## [2.1.5] - 2018-05-08
29+
30+
### Added
31+
32+
- Metadata for supporting Windows Server 2016 ([MODULES-4271](https://tickets.puppetlabs.com/browse/MODULES-4271))
33+
34+
### Fixed
35+
36+
- Upgraded message to make .NET Framework requirements clearer when running PowerShell 2.0 ([MODULES-7011](https://tickets.puppetlabs.com/browse/MODULES-7011))
37+
- Fixed timeout handling when the user specifies a timeout parameter value of `0` to substitute the default of 300 seconds ([MODULES-7018](https://tickets.puppetlabs.com/browse/MODULES-7018))
38+
39+
## [2.1.4] - 2017-03-29
40+
41+
### Fixed
42+
43+
- Ensured that the code is able to start the pipes server in a PowerShell process on Windows 2008R2 images ([MODULES-6927](https://tickets.puppetlabs.com/browse/MODULES-6927))
44+
- Updated PowerShell syntax in README examples
45+
46+
## [2.1.3] - 2017-12-08
47+
48+
### Fixed
49+
50+
- Fixed timeouts and zombie process creation ([MODULES-4748](https://tickets.puppetlabs.com/browse/MODULES-4748))
51+
- Corrected PowerShell executable name for experimental cross-platform / PowerShell 6 support ([MODULES-6081](https://tickets.puppetlabs.com/browse/MODULES-6081))
52+
53+
## [2.1.2] - 2017-07-27
54+
55+
### Fixed
56+
57+
- Fixed Global Warning variable ([MODULES-5224](https://tickets.puppetlabs.com/browse/MODULES-5224))
58+
- Moved the PowerShell template file to stop it conflicting with the DSC module ([MODULES-5228](https://tickets.puppetlabs.com/browse/MODULES-5228))
59+
60+
## [2.1.1] - 2017-07-07
61+
62+
### Added
63+
64+
- Rake tasks for release automation
65+
- Experimental support for non-Windows Support (CentOS, Ubuntu) ([MODULES-3945](https://tickets.puppetlabs.com/browse/MODULES-3945))
66+
67+
### Fixed
68+
69+
- Updated documentation ([DOC-2960](https://tickets.puppetlabs.com/browse/DOC-2960))
70+
- Updated metadata for Puppet 4 and Puppet 5 ([MODULES-4528](https://tickets.puppetlabs.com/browse/MODULES-4528), [MODULES-4822](https://tickets.puppetlabs.com/browse/MODULES-4822), [MODULES-5144](https://tickets.puppetlabs.com/browse/MODULES-5144))
71+
- Dispose runspace on pipe close ([MODULES-4754](https://tickets.puppetlabs.com/browse/MODULES-4754))
72+
- Removed rspec configuration for win32_console ([MODULES-4976](https://tickets.puppetlabs.com/browse/MODULES-4976))
73+
- Provider will now respect the environment parameter ([MODULES-4138](https://tickets.puppetlabs.com/browse/MODULES-4138))
74+
- Return available UI Output on error ([MODULES-5145](https://tickets.puppetlabs.com/browse/MODULES-5145))
75+
76+
## [2.1.0] - 2016-11-17
77+
78+
### Fixed
79+
80+
- Support for Windows 2016/WMF 5.1 using named pipes ([MODULES-3690](https://tickets.puppetlabs.com/browse/MODULES-3690))
81+
- Fixed documentation for herestring ([DOC-2960](https://tickets.puppetlabs.com/browse/DOC-2960))
82+
83+
### Added
84+
85+
- Speed improvements to the PowerShell manager ([MODULES-3690](https://tickets.puppetlabs.com/browse/MODULES-3690))
86+
87+
## [2.0.3] - 2016-10-05
88+
89+
### Added
90+
91+
- The ability to set the current working directory ([MODULES-3565](https://tickets.puppetlabs.com/browse/MODULES-3565))
92+
93+
### Fixed
94+
95+
- Miscellaneous fixes to improve reliability
96+
- Fixed capture exit codes when executing external scripts ([MODULES-3399](https://tickets.puppetlabs.com/browse/MODULES-3399))
97+
- Fixed respect user specified timeout ([MODULES-3709](https://tickets.puppetlabs.com/browse/MODULES-3709))
98+
- Improved handling of user code exceptions ([MODULES-3443](https://tickets.puppetlabs.com/browse/MODULES-3443))
99+
- Fixed output line and stacktrace of user code exception ([MODULES-3839](https://tickets.puppetlabs.com/browse/MODULES-3839))
100+
- Improved the PowerShell host so that it is more resilient to failure ([MODULES-3875](https://tickets.puppetlabs.com/browse/MODULES-3875))
101+
- Fixed race condition in threading with the PowerShell host ([MODULES-3144](https://tickets.puppetlabs.com/browse/MODULES-3144))
102+
- Modified tests to detect differences in PowerShell error text ([MODULES-3443](https://tickets.puppetlabs.com/browse/MODULES-3443))
103+
- Documented how to handle exit codes ([MODULES-3588](https://tickets.puppetlabs.com/browse/MODULES-3588))
104+
105+
## [2.0.2] - 2016-07-12
106+
107+
### Added
108+
109+
- Noticable speed increase by reducing the time start for a PowerShell command ([MODULES-3406](https://tickets.puppetlabs.com/browse/MODULES-3406))
110+
- Tests for try/catch ([MODULES-2634](https://tickets.puppetlabs.com/browse/MODULES-2634))
111+
112+
### Fixed
113+
114+
- Fixed minor bugs in tests ([MODULES-3347](https://tickets.puppetlabs.com/browse/MODULES-3347))
115+
- Fixed bug with older ruby (1.8)
116+
117+
## [2.0.1] - 2016-05-24
118+
119+
### Fixed
120+
121+
- Updated the PowerShell manager so that it does not conflict with the PowerShell Manager in the Puppet DSC module ([FM-5240](https://tickets.puppetlabs.com/browse/FM-5240))
122+
123+
## [2.0.0] - 2016-05-17
124+
125+
### Changed
126+
127+
- Major performance improvement by sharing a single PowerShell session, instead of creating a new PowerShell session per command. This change no longer writes temporary scripts to file system. ([MODULES-2962](https://tickets.puppetlabs.com/browse/MODULES-2962))
128+
129+
### Fixed
130+
131+
- Updated test suites with later versions ([MODULES-2452](https://tickets.puppetlabs.com/browse/MODULES-2452), [MODULES-3011](https://tickets.puppetlabs.com/browse/MODULES-3011))
132+
- Cleaned up documentation ([MODULES-3192](https://tickets.puppetlabs.com/browse/MODULES-3192))
133+
- Removed extra verbose output
134+
135+
## [1.0.6] - 2015-12-08
136+
137+
### Fixed
138+
139+
- Fixed testing bug when testing on Puppet 3+ on Windows Server 2003 ([MODULES-2443](https://tickets.puppetlabs.com/browse/MODULES-2443))
140+
141+
## [1.0.5] - 2015-07-28
142+
143+
### Added
144+
145+
- Metadata for Puppet 4 and PE 2015.2.0 ([FM-2752](https://tickets.puppetlabs.com/browse/FM-2752))
146+
147+
### Fixed
148+
149+
- Minor testing bug fixes ([MODULES-2207](https://tickets.puppetlabs.com/browse/MODULES-2207))
150+
- Readme cleanup ([DOC-1497](https://tickets.puppetlabs.com/browse/DOC-1497))
151+
152+
## [1.0.4] 2014-11-04
153+
154+
### Fixed
155+
156+
- Fixed issues URL in metadata.json
157+
158+
### Added
159+
160+
- Future Parser testing support ([FM-1519](https://tickets.puppetlabs.com/browse/FM-1519))
161+
162+
## [1.0.3] - 2014-08-25
163+
164+
### Fixed
165+
166+
- Updated tests to verify that PowerShell continues to function on x64-native ruby
167+
168+
## [1.0.2] - 2014-07-15
169+
170+
### Fixed
171+
172+
- Updated metadata.json so that the module can be uninstalled and upgraded via the puppet module command
173+
174+
## [1.0.1]
175+
176+
### Fixed
177+
178+
- Fixed issue with metadata and PE version requirement
179+
180+
[Unreleased]: https://github.com/puppetlabs/puppetlabs-powershell/compare/2.3.0...master
181+
[2.3.0]: https://github.com/puppetlabs/puppetlabs-powershell/compare/2.2.0...2.3.0
182+
[2.2.0]: https://github.com/puppetlabs/puppetlabs-powershell/compare/2.1.5...2.2.0
183+
[2.1.5]: https://github.com/puppetlabs/puppetlabs-powershell/compare/2.1.4...2.1.5
184+
[2.1.4]: https://github.com/puppetlabs/puppetlabs-powershell/compare/2.1.3...2.1.4
185+
[2.1.3]: https://github.com/puppetlabs/puppetlabs-powershell/compare/2.1.2...2.1.3
186+
[2.1.2]: https://github.com/puppetlabs/puppetlabs-powershell/compare/2.1.1...2.1.2
187+
[2.1.1]: https://github.com/puppetlabs/puppetlabs-powershell/compare/2.1.0...2.1.1
188+
[2.1.0]: https://github.com/puppetlabs/puppetlabs-powershell/compare/2.0.3...2.1.0
189+
[2.0.3]: https://github.com/puppetlabs/puppetlabs-powershell/compare/2.0.2...2.0.3
190+
[2.0.2]: https://github.com/puppetlabs/puppetlabs-powershell/compare/2.0.1...2.0.2
191+
[2.0.1]: https://github.com/puppetlabs/puppetlabs-powershell/compare/2.0.0...2.0.1
192+
[2.0.0]: https://github.com/puppetlabs/puppetlabs-powershell/compare/1.0.6...2.0.0
193+
[1.0.6]: https://github.com/puppetlabs/puppetlabs-powershell/compare/1.0.5...1.0.6
194+
[1.0.5]: https://github.com/puppetlabs/puppetlabs-powershell/compare/1.0.4...1.0.5
195+
[1.0.4]: https://github.com/puppetlabs/puppetlabs-powershell/compare/1.0.3...1.0.4
196+
[1.0.3]: https://github.com/puppetlabs/puppetlabs-powershell/compare/1.0.2...1.0.3
197+
[1.0.2]: https://github.com/puppetlabs/puppetlabs-powershell/compare/1.0.1...1.0.2
198+
[1.0.1]: https://github.com/puppetlabs/puppetlabs-powershell/compare/1.0.0...1.0.1

metadata.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "puppetlabs-powershell",
33
"version": "2.3.0",
4-
"author": "Puppet Inc",
4+
"author": "puppetlabs",
55
"summary": "Adds a new exec provider for executing PowerShell commands.",
66
"license": "Apache-2.0",
77
"source": "https://github.com/puppetlabs/puppetlabs-powershell",
@@ -77,7 +77,7 @@
7777
"version_requirement": ">= 4.7.0 < 7.0.0"
7878
}
7979
],
80-
"pdk-version": "1.14.1",
80+
"pdk-version": "1.15.0",
8181
"template-url": "https://github.com/puppetlabs/pdk-templates#master",
82-
"template-ref": "heads/master-0-g643529a"
82+
"template-ref": "heads/master-0-g73e79b9"
8383
}

0 commit comments

Comments
 (0)