rspec-puppet 2.11.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +154 -469
- data/README.md +71 -168
- data/bin/rspec-puppet-init +4 -3
- data/lib/rspec-puppet/adapters.rb +84 -230
- data/lib/rspec-puppet/cache.rb +3 -2
- data/lib/rspec-puppet/consts.rb +16 -14
- data/lib/rspec-puppet/coverage.rb +37 -42
- data/lib/rspec-puppet/errors.rb +6 -6
- data/lib/rspec-puppet/example/class_example_group.rb +3 -1
- data/lib/rspec-puppet/example/define_example_group.rb +3 -1
- data/lib/rspec-puppet/example/function_example_group.rb +42 -57
- data/lib/rspec-puppet/example/host_example_group.rb +3 -1
- data/lib/rspec-puppet/example/provider_example_group.rb +2 -0
- data/lib/rspec-puppet/example/type_alias_example_group.rb +4 -2
- data/lib/rspec-puppet/example/type_example_group.rb +3 -1
- data/lib/rspec-puppet/example.rb +6 -9
- data/lib/rspec-puppet/facter_impl.rb +11 -10
- data/lib/rspec-puppet/matchers/allow_value.rb +10 -10
- data/lib/rspec-puppet/matchers/compile.rb +54 -61
- data/lib/rspec-puppet/matchers/count_generic.rb +18 -18
- data/lib/rspec-puppet/matchers/create_generic.rb +69 -79
- data/lib/rspec-puppet/matchers/dynamic_matchers.rb +15 -4
- data/lib/rspec-puppet/matchers/include_class.rb +5 -4
- data/lib/rspec-puppet/matchers/parameter_matcher.rb +11 -12
- data/lib/rspec-puppet/matchers/raise_error.rb +5 -1
- data/lib/rspec-puppet/matchers/run.rb +41 -42
- data/lib/rspec-puppet/matchers/type_matchers.rb +37 -48
- data/lib/rspec-puppet/matchers.rb +2 -0
- data/lib/rspec-puppet/monkey_patches/win32/registry.rb +7 -5
- data/lib/rspec-puppet/monkey_patches/win32/taskscheduler.rb +3 -1
- data/lib/rspec-puppet/monkey_patches/windows/taskschedulerconstants.rb +208 -205
- data/lib/rspec-puppet/monkey_patches.rb +80 -93
- data/lib/rspec-puppet/rake_task.rb +6 -4
- data/lib/rspec-puppet/raw_string.rb +2 -0
- data/lib/rspec-puppet/sensitive.rb +31 -39
- data/lib/rspec-puppet/setup.rb +45 -56
- data/lib/rspec-puppet/spec_helper.rb +2 -3
- data/lib/rspec-puppet/support.rb +129 -177
- data/lib/rspec-puppet/tasks/release_test.rb +8 -5
- data/lib/rspec-puppet/version.rb +5 -0
- data/lib/rspec-puppet.rb +37 -61
- metadata +18 -15
- data/lib/rspec-puppet/example/application_example_group.rb +0 -19
data/CHANGELOG.md
CHANGED
|
@@ -1,608 +1,293 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
project adheres to [Semantic Versioning](http://semver.org/).
|
|
1
|
+
<!-- markdownlint-disable MD024 -->
|
|
2
|
+
# Changelog
|
|
4
3
|
|
|
5
|
-
|
|
4
|
+
All notable changes to this project will be documented in this file.
|
|
6
5
|
|
|
7
|
-
|
|
8
|
-
* Add setting to use custom Facter implementation ([GH-16](https://github.com/puppetlabs/rspec-puppet/pull/16))
|
|
6
|
+
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).
|
|
9
7
|
|
|
10
|
-
## [
|
|
11
|
-
The release sees rspec-puppet move into the puppetlabs namespace
|
|
8
|
+
## [v4.0.0](https://github.com/puppetlabs/rspec-puppet/tree/v4.0.0) - 2023-10-09
|
|
12
9
|
|
|
13
|
-
|
|
14
|
-
* Add ruby 3 support ([GH-11](https://github.com/puppetlabs/rspec-puppet/pull/11))
|
|
10
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v3.0.0...v4.0.0)
|
|
15
11
|
|
|
16
|
-
|
|
12
|
+
### Changed
|
|
13
|
+
- (CAT-1226) - Remove Compatibility for Puppet 7.10 and below [#73](https://github.com/puppetlabs/rspec-puppet/pull/73) ([jordanbreen28](https://github.com/jordanbreen28))
|
|
14
|
+
- Drop RSpec 2 & Ruby 1 compatiblity [#67](https://github.com/puppetlabs/rspec-puppet/pull/67) ([ekohl](https://github.com/ekohl))
|
|
15
|
+
- Remove puppet applications support [#54](https://github.com/puppetlabs/rspec-puppet/pull/54) ([nabertrand](https://github.com/nabertrand))
|
|
17
16
|
|
|
18
|
-
###
|
|
19
|
-
* Allow users to disable app_management for Puppet 4
|
|
20
|
-
* Added support for regexp arguments to Sensitive
|
|
21
|
-
* Handle all auto*, not just autorequire
|
|
22
|
-
* Set up loaders so that 4.x functions resolve properly
|
|
17
|
+
### Fixed
|
|
23
18
|
|
|
24
|
-
|
|
19
|
+
- Avoid hardcoding ipaddress6 default [#61](https://github.com/puppetlabs/rspec-puppet/pull/61) ([ekohl](https://github.com/ekohl))
|
|
25
20
|
|
|
26
|
-
|
|
27
|
-
* As of the 2.8.0 release, the `rspec-puppet` project no longer guarantees compatibility
|
|
28
|
-
with Puppet 2.x or 3.x (running under Ruby 1.8.7) or Puppet 4.x (running under Ruby 1.9.3).
|
|
29
|
-
* This release adds support for the [`Sensitive`](https://puppet.com/docs/puppet/latest/lang_data_sensitive.html)
|
|
30
|
-
data type, however existing tests that were expecting `String` content may need to be updated
|
|
31
|
-
to wrap the expected value in the new `sensitive` helper:
|
|
21
|
+
## [v3.0.0](https://github.com/puppetlabs/rspec-puppet/tree/v3.0.0) - 2023-04-25
|
|
32
22
|
|
|
33
|
-
|
|
34
|
-
# Old
|
|
35
|
-
it { is_expected.to contain_file('/etc/mysecret.conf').with_content("top secret\n") }
|
|
23
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v3.0.0.rc.1...v3.0.0)
|
|
36
24
|
|
|
37
|
-
|
|
38
|
-
it { is_expected.to contain_file('/etc/mysecret.conf').with_content(sensitive("top secret\n")) }
|
|
39
|
-
```
|
|
25
|
+
## [v3.0.0.rc.1](https://github.com/puppetlabs/rspec-puppet/tree/v3.0.0.rc.1) - 2023-04-12
|
|
40
26
|
|
|
41
|
-
|
|
42
|
-
* Added support for [trusted external fact data](https://github.com/puppetlabs/rspec-puppet#specifying-trusted-external-data).
|
|
43
|
-
* Added the ability to exclude resources from the coverage report calculations using a regular expression.
|
|
44
|
-
(See [documentation](https://rspec-puppet.com/documentation/coverage/#excluded-resources) for an example.
|
|
45
|
-
* Added `have_unique_values_for_all` matcher to assert a specific resource parameter value is unique across
|
|
46
|
-
the entire catalogue.
|
|
47
|
-
(See [documentation](https://rspec-puppet.com/documentation/classes/#test-resource-parameter-values-for-uniqueness).)
|
|
48
|
-
* Added ability to customize module-layer Hiera configuration via new settings. See
|
|
49
|
-
[documentation](https://rspec-puppet.com/documentation/configuration/#disable_module_hiera) for details.
|
|
27
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.12.0...v3.0.0.rc.1)
|
|
50
28
|
|
|
51
29
|
### Changed
|
|
52
|
-
|
|
53
|
-
* `rspec-puppet`'s implementation of `match_manifests` will no longer look in `init.pp` for class
|
|
54
|
-
declarations if a manifest file exactly matching the class name exists.
|
|
30
|
+
- (CONT-808) Ruby 3 / Puppet 8 Support [#48](https://github.com/puppetlabs/rspec-puppet/pull/48) ([chelnak](https://github.com/chelnak))
|
|
55
31
|
|
|
56
|
-
###
|
|
57
|
-
* Resolved compatibility issues with Ruby 2.7.x and added Ruby 2.7.x to the test matrix.
|
|
58
|
-
* Resolved issues calculating coverage and reporting results when there are 0 tested resources.
|
|
59
|
-
* Resolved compatibility issue with `rspec-expectations` 3.10.0.
|
|
32
|
+
### Added
|
|
60
33
|
|
|
61
|
-
|
|
34
|
+
- Support dot-notation when retrieving facts in facter_impl [#46](https://github.com/puppetlabs/rspec-puppet/pull/46) ([alexjfisher](https://github.com/alexjfisher))
|
|
62
35
|
|
|
63
36
|
### Fixed
|
|
64
|
-
* Fix issues with removal of `default_env` method in Puppet 6.17.0.
|
|
65
37
|
|
|
66
|
-
|
|
38
|
+
- Default to current versions of Puppet and Facter [#36](https://github.com/puppetlabs/rspec-puppet/pull/36) ([ekohl](https://github.com/ekohl))
|
|
39
|
+
- fixed plugins link [#30](https://github.com/puppetlabs/rspec-puppet/pull/30) ([binford2k](https://github.com/binford2k))
|
|
67
40
|
|
|
68
|
-
|
|
41
|
+
## [v2.12.0](https://github.com/puppetlabs/rspec-puppet/tree/v2.12.0) - 2022-07-21
|
|
69
42
|
|
|
70
|
-
|
|
43
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.11.1...v2.12.0)
|
|
44
|
+
|
|
45
|
+
### Added
|
|
46
|
+
|
|
47
|
+
- Add the ability to use `kind_of` matchers [#24](https://github.com/puppetlabs/rspec-puppet/pull/24) ([binford2k](https://github.com/binford2k))
|
|
71
48
|
|
|
72
49
|
### Fixed
|
|
73
|
-
* Fix cross-platform testing for Puppet >= 6.9.0 when there is no `ipaddress6`
|
|
74
|
-
fact defined.
|
|
75
50
|
|
|
76
|
-
|
|
51
|
+
- Handle nil autorequire results [#22](https://github.com/puppetlabs/rspec-puppet/pull/22) ([seanmil](https://github.com/seanmil))
|
|
52
|
+
|
|
53
|
+
## [v2.11.1](https://github.com/puppetlabs/rspec-puppet/tree/v2.11.1) - 2021-12-10
|
|
54
|
+
|
|
55
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.11.0...v2.11.1)
|
|
77
56
|
|
|
78
57
|
### Fixed
|
|
79
|
-
* Fix the support for rspec-expectations >= 3.8.5.
|
|
80
58
|
|
|
81
|
-
|
|
82
|
-
* Remove the rspec-expectations dependency limit introduced in 2.7.6.
|
|
59
|
+
- Ensure FacterImpl consistency between example groups [#19](https://github.com/puppetlabs/rspec-puppet/pull/19) ([GabrielNagy](https://github.com/GabrielNagy))
|
|
83
60
|
|
|
84
|
-
## [
|
|
61
|
+
## [v2.11.0](https://github.com/puppetlabs/rspec-puppet/tree/v2.11.0) - 2021-11-10
|
|
85
62
|
|
|
86
|
-
|
|
87
|
-
* Limit rspec-expectations dependency to < 3.8.5 due to an incompatible
|
|
88
|
-
change.
|
|
63
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.10.0...v2.11.0)
|
|
89
64
|
|
|
90
|
-
|
|
65
|
+
### Added
|
|
91
66
|
|
|
92
|
-
|
|
93
|
-
* Minor refactor to prevent the fix introduced in 2.7.4 from raising
|
|
94
|
-
a deprecation warning on latest RSpec.
|
|
67
|
+
- Add setting to use custom Facter implementation [#16](https://github.com/puppetlabs/rspec-puppet/pull/16) ([GabrielNagy](https://github.com/GabrielNagy))
|
|
95
68
|
|
|
96
|
-
## [
|
|
69
|
+
## [v2.10.0](https://github.com/puppetlabs/rspec-puppet/tree/v2.10.0) - 2021-08-02
|
|
97
70
|
|
|
98
|
-
|
|
99
|
-
* Fix the resource coverage test so that rspec will exit non-zero if the
|
|
100
|
-
desired coverage is not met.
|
|
71
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.9.0...v2.10.0)
|
|
101
72
|
|
|
102
|
-
|
|
73
|
+
### Added
|
|
103
74
|
|
|
104
|
-
|
|
105
|
-
* Puppet 6 deferred functions are now evaluated and resolved as part of the
|
|
106
|
-
catalogue compilation process.
|
|
107
|
-
* If running with parallel\_tests, the resources that are filtered out of the
|
|
108
|
-
resource coverage report are now taken into account when merging the final
|
|
109
|
-
report, fixing false negative results that can occur.
|
|
75
|
+
- Add Ruby 3 support [#11](https://github.com/puppetlabs/rspec-puppet/pull/11) ([bastelfreak](https://github.com/bastelfreak))
|
|
110
76
|
|
|
111
|
-
## [
|
|
77
|
+
## [v2.9.0](https://github.com/puppetlabs/rspec-puppet/tree/v2.9.0) - 2021-05-20
|
|
112
78
|
|
|
113
|
-
|
|
114
|
-
* Reverted the change introduced in 2.7.0 that reencoded resource parameter
|
|
115
|
-
values to modify their line endings.
|
|
79
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.8.0...v2.9.0)
|
|
116
80
|
|
|
117
|
-
## [
|
|
81
|
+
## [v2.8.0](https://github.com/puppetlabs/rspec-puppet/tree/v2.8.0) - 2020-11-05
|
|
118
82
|
|
|
119
|
-
|
|
120
|
-
* Fixed a bug that prevented the platform pretending/stubbing logic from being
|
|
121
|
-
temporarily disabled when loading Ruby code.
|
|
83
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.7.9...v2.8.0)
|
|
122
84
|
|
|
123
|
-
## [
|
|
85
|
+
## [v2.7.9](https://github.com/puppetlabs/rspec-puppet/tree/v2.7.9) - 2020-07-14
|
|
124
86
|
|
|
125
|
-
|
|
126
|
-
* Official Puppet 6 support added.
|
|
127
|
-
* When testing resource parameter values, the values received from Puppet are
|
|
128
|
-
now reencoded before testing to ensure that the line endings (if present)
|
|
129
|
-
match the platform being tested.
|
|
130
|
-
* `vendormoduledir` and `basemodulepath` settings (introduced in Puppet 6) are
|
|
131
|
-
now configurable in rspec-puppet.
|
|
87
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.7.8...v2.7.9)
|
|
132
88
|
|
|
133
|
-
## [
|
|
89
|
+
## [v2.7.8](https://github.com/puppetlabs/rspec-puppet/tree/v2.7.8) - 2019-10-31
|
|
134
90
|
|
|
135
|
-
|
|
91
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.7.7...v2.7.8)
|
|
136
92
|
|
|
137
|
-
|
|
138
|
-
Puppet settings (specifically `trusted_server_facts`) when running tests
|
|
139
|
-
against the upcoming Puppet 6.0.0 release.
|
|
93
|
+
## [v2.7.7](https://github.com/puppetlabs/rspec-puppet/tree/v2.7.7) - 2019-10-07
|
|
140
94
|
|
|
141
|
-
|
|
95
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.7.6...v2.7.7)
|
|
142
96
|
|
|
143
|
-
|
|
97
|
+
## [v2.7.6](https://github.com/puppetlabs/rspec-puppet/tree/v2.7.6) - 2019-10-04
|
|
144
98
|
|
|
145
|
-
|
|
146
|
-
junction on Windows as the builtin `File` module does not have complete
|
|
147
|
-
support for directory junctions on Ruby <= 2.1.
|
|
99
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.7.5...v2.7.6)
|
|
148
100
|
|
|
149
|
-
|
|
101
|
+
## [v2.7.5](https://github.com/puppetlabs/rspec-puppet/tree/v2.7.5) - 2019-06-06
|
|
150
102
|
|
|
151
|
-
|
|
152
|
-
rather than only being printed to STDOUT.
|
|
153
|
-
* If running with parallel\_tests, resource coverage data is stored in
|
|
154
|
-
per-process temp files and merged at the end of the final rspec process,
|
|
155
|
-
allowing for a complete coverage report to be generated when splitting
|
|
156
|
-
a test suite across multiple rspec processes.
|
|
103
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.7.4...v2.7.5)
|
|
157
104
|
|
|
158
|
-
## [
|
|
105
|
+
## [v2.7.4](https://github.com/puppetlabs/rspec-puppet/tree/v2.7.4) - 2019-06-06
|
|
159
106
|
|
|
160
|
-
|
|
107
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.7.3...v2.7.4)
|
|
161
108
|
|
|
162
|
-
|
|
163
|
-
setting on Puppet 4.0.0, as the setting was only introduced in Puppet 4.1.0.
|
|
164
|
-
* Automatic `Selinux` stubbing introduced in 2.6.12 no longer assumes the use
|
|
165
|
-
of rspec-mocks. If rspec-mocks is not available, it will fall back to mocha
|
|
166
|
-
and finally fall back to doing nothing if neither is available.
|
|
109
|
+
## [v2.7.3](https://github.com/puppetlabs/rspec-puppet/tree/v2.7.3) - 2019-02-15
|
|
167
110
|
|
|
168
|
-
|
|
111
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.7.2...v2.7.3)
|
|
169
112
|
|
|
170
|
-
|
|
113
|
+
## [v2.7.2](https://github.com/puppetlabs/rspec-puppet/tree/v2.7.2) - 2018-11-20
|
|
171
114
|
|
|
172
|
-
|
|
173
|
-
`win32-taskscheduler`.
|
|
174
|
-
* The `os` structured fact is now correctly treated as a Hash when determining
|
|
175
|
-
the platform that rspec-puppet pretends to be.
|
|
176
|
-
* The default resources that Puppet adds to the catalogue (`Class[main]`,
|
|
177
|
-
`Class[Settings]`, etc) are now filtered out of the catalogue when using the
|
|
178
|
-
`have_resource_count` matcher, rather than simply subtracted from the
|
|
179
|
-
resource count. This allows the `have_resource_count` matcher to be used on
|
|
180
|
-
subsects of the catalogue (`exported_resources` for example).
|
|
181
|
-
* When running on Windows, rspec-puppet will now convert Puppet configuration
|
|
182
|
-
settings from `/dev/null` to `NUL`, preventing Puppet from automatically
|
|
183
|
-
creating directories like `C:\dev` when running tests on Windows as an
|
|
184
|
-
Administrator.
|
|
185
|
-
* When overriding fact values, rspec-puppet will now assign the stub facts
|
|
186
|
-
a weight of 1000 to ensure that they override the generated fact values from
|
|
187
|
-
Facter 3.x.
|
|
188
|
-
* `Selinux.is_selinux_enabled` is now automatically stubbed to return 0 to
|
|
189
|
-
disable any SELinux related apply-time validation of resources.
|
|
190
|
-
* When testing against Puppet 3.x, rspec-puppet will now honour the
|
|
191
|
-
`RSpec.configuration.parser` value when determining the module name to set
|
|
192
|
-
up the fixture symlink.
|
|
193
|
-
* When testing for the absence of a parameter using `only_with(:parameter_name
|
|
194
|
-
=> nil`), this will no longer incorrectly affect the expected parameter
|
|
195
|
-
count.
|
|
196
|
-
|
|
197
|
-
## [2.6.11]
|
|
115
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.7.1...v2.7.2)
|
|
198
116
|
|
|
199
|
-
|
|
117
|
+
## [v2.7.1](https://github.com/puppetlabs/rspec-puppet/tree/v2.7.1) - 2018-10-04
|
|
200
118
|
|
|
201
|
-
|
|
202
|
-
`RSpec.configuration.trusted_server_facts` is `true`. Previously, this was
|
|
203
|
-
always built but only used when enabled.
|
|
119
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.7.0...v2.7.1)
|
|
204
120
|
|
|
205
|
-
## [
|
|
121
|
+
## [v2.7.0](https://github.com/puppetlabs/rspec-puppet/tree/v2.7.0) - 2018-10-02
|
|
206
122
|
|
|
207
|
-
|
|
123
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.6.15...v2.7.0)
|
|
208
124
|
|
|
209
|
-
|
|
210
|
-
`File.exist?`, which behaves much more reliably in respect to symlinks.
|
|
211
|
-
* Stubbed out `Puppet::Util::Windows::Security.supports_acl?` when compiling
|
|
212
|
-
the catalogue as this check only make sense when applying the resources to
|
|
213
|
-
a host and prevents testing Windows File resources on non-Windows hosts.
|
|
214
|
-
* The cached default provider for native types is now reset before compiling
|
|
215
|
-
a new catalogue.
|
|
216
|
-
* Resource titles that contain single quotes are now rendered correctly,
|
|
217
|
-
allowing them to be tested.
|
|
218
|
-
* When pretending to be a different platform, the methods in
|
|
219
|
-
`Puppet::Util::Platform` are now stubbed after the catalogue has been
|
|
220
|
-
compiled, allowing path related logic in custom facts to behave as expected.
|
|
221
|
-
* A mock version of `Win32::TaskScheduler` has been added to rspec-puppet.
|
|
222
|
-
This will be loaded when running rspec-puppet on a non-Windows host in order
|
|
223
|
-
to allow testing of catalogues containing Scheduled\_task resources.
|
|
224
|
-
* Stubbed out the `manages_symlinks` feature on
|
|
225
|
-
`Puppet::Type::File::ProviderWindows` as this can only be evaluated at apply
|
|
226
|
-
time and prevents testing Windows File resources that manage symlinks on
|
|
227
|
-
non-Windows hosts.
|
|
228
|
-
* Fixed unhandled exception when testing resource parameters where the
|
|
229
|
-
expected value is an Array or a Hash and the actual value is a different
|
|
230
|
-
data type.
|
|
231
|
-
* A mock version of `Win32::Registry` has been added to rspec-puppet. This
|
|
232
|
-
will be loaded when running rspec-puppet on a non-Windows host in order to
|
|
233
|
-
allow testing of catalogues that contain Exec resources that use the
|
|
234
|
-
`powershell` provider from the `puppetlabs/puppetlabs-powershell` module.
|
|
235
|
-
* Fixed a case where the order in which tests are run can cause a resource
|
|
236
|
-
that is being tested to be falsely reported as untested in the coverage
|
|
237
|
-
report.
|
|
125
|
+
## [v2.6.15](https://github.com/puppetlabs/rspec-puppet/tree/v2.6.15) - 2018-08-13
|
|
238
126
|
|
|
239
|
-
|
|
127
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.6.14...v2.6.15)
|
|
240
128
|
|
|
241
|
-
|
|
242
|
-
error message format introduced in Puppet 5.3.4.
|
|
243
|
-
* The builtin `$server_facts` hash is now populated on versions of Puppet that
|
|
244
|
-
support it (Puppet >= 4.3). This is not currently enabled by default, but
|
|
245
|
-
can be enabled by setting `RSpec.configuration.trusted_server_facts` to
|
|
246
|
-
`true`.
|
|
247
|
-
* `$facts['os']['family']` and `$facts['os']['name']` are now checked when
|
|
248
|
-
determining if rspec-puppet needs to pretend to be running on a different
|
|
249
|
-
platform (previously only `$facts['operatingsystem']` and
|
|
250
|
-
`$facts['osfamily']` were used).
|
|
129
|
+
## [v2.6.14](https://github.com/puppetlabs/rspec-puppet/tree/v2.6.14) - 2018-07-06
|
|
251
130
|
|
|
252
|
-
|
|
131
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.6.13...v2.6.14)
|
|
253
132
|
|
|
254
|
-
|
|
133
|
+
## [v2.6.13](https://github.com/puppetlabs/rspec-puppet/tree/v2.6.13) - 2018-06-21
|
|
255
134
|
|
|
256
|
-
|
|
257
|
-
correct code is loaded for the actual platform running the tests.
|
|
135
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.6.12...v2.6.13)
|
|
258
136
|
|
|
259
|
-
## [
|
|
137
|
+
## [v2.6.12](https://github.com/puppetlabs/rspec-puppet/tree/v2.6.12) - 2018-06-15
|
|
260
138
|
|
|
261
|
-
|
|
139
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.6.11...v2.6.12)
|
|
262
140
|
|
|
263
|
-
|
|
264
|
-
invalidation.
|
|
265
|
-
* Clarified rspec-puppet-init output when run inside a directory that does not
|
|
266
|
-
contain a `metadata.json` file.
|
|
141
|
+
## [v2.6.11](https://github.com/puppetlabs/rspec-puppet/tree/v2.6.11) - 2018-03-08
|
|
267
142
|
|
|
268
|
-
|
|
143
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.6.10...v2.6.11)
|
|
269
144
|
|
|
270
|
-
|
|
145
|
+
## [v2.6.10](https://github.com/puppetlabs/rspec-puppet/tree/v2.6.10) - 2018-03-06
|
|
271
146
|
|
|
272
|
-
|
|
273
|
-
exception when the coverage wasn't 100%.
|
|
147
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.6.9...v2.6.10)
|
|
274
148
|
|
|
275
|
-
## [
|
|
149
|
+
## [v2.6.9](https://github.com/puppetlabs/rspec-puppet/tree/v2.6.9) - 2017-09-12
|
|
276
150
|
|
|
277
|
-
|
|
151
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.6.8...v2.6.9)
|
|
278
152
|
|
|
279
|
-
|
|
280
|
-
Windows host.
|
|
153
|
+
## [v2.6.8](https://github.com/puppetlabs/rspec-puppet/tree/v2.6.8) - 2017-08-17
|
|
281
154
|
|
|
282
|
-
|
|
155
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.6.7...v2.6.8)
|
|
283
156
|
|
|
284
|
-
|
|
157
|
+
## [v2.6.7](https://github.com/puppetlabs/rspec-puppet/tree/v2.6.7) - 2017-08-08
|
|
285
158
|
|
|
286
|
-
|
|
287
|
-
`fqdn`, `hostname`, and `domain` facts with values derived from the node
|
|
288
|
-
name specified with `let(:node)`.
|
|
159
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.6.6...v2.6.7)
|
|
289
160
|
|
|
290
|
-
|
|
161
|
+
## [v2.6.6](https://github.com/puppetlabs/rspec-puppet/tree/v2.6.6) - 2017-08-07
|
|
291
162
|
|
|
292
|
-
|
|
293
|
-
the `facts` hash.
|
|
294
|
-
* The modifications made to Puppet internals are now contained to rspec-puppet
|
|
295
|
-
examples, preventing them from bleeding out into other examples in the same
|
|
296
|
-
RSpec process (like Ruby unit tests).
|
|
297
|
-
* rspec-puppet no longer attempts to configure settings for Puppet 3.x
|
|
298
|
-
releases that they do not support.
|
|
163
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.6.5...v2.6.6)
|
|
299
164
|
|
|
300
|
-
## [
|
|
165
|
+
## [v2.6.5](https://github.com/puppetlabs/rspec-puppet/tree/v2.6.5) - 2017-08-04
|
|
301
166
|
|
|
302
|
-
|
|
167
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.6.4...v2.6.5)
|
|
303
168
|
|
|
304
|
-
|
|
305
|
-
* A regression that prevented the `environmentpath` setting from taking
|
|
306
|
-
effect.
|
|
307
|
-
* Stubbed out the automatic confines created by resource providers on their
|
|
308
|
-
specified commands, which was preventing the correct provider from being
|
|
309
|
-
assigned to a resource when performing cross-platform testing.
|
|
169
|
+
## [v2.6.4](https://github.com/puppetlabs/rspec-puppet/tree/v2.6.4) - 2017-07-08
|
|
310
170
|
|
|
311
|
-
|
|
171
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.6.3...v2.6.4)
|
|
312
172
|
|
|
313
|
-
|
|
173
|
+
## [v2.6.3](https://github.com/puppetlabs/rspec-puppet/tree/v2.6.3) - 2017-07-04
|
|
314
174
|
|
|
315
|
-
|
|
316
|
-
specified by `RSpec.configuration.default_facts` and `let(:facts)` if the
|
|
317
|
-
node name has been manually specified with `let(:node)`.
|
|
175
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.6.2...v2.6.3)
|
|
318
176
|
|
|
319
|
-
## [2.6.2
|
|
177
|
+
## [v2.6.2](https://github.com/puppetlabs/rspec-puppet/tree/v2.6.2) - 2017-07-03
|
|
320
178
|
|
|
321
|
-
|
|
179
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.6.1...v2.6.2)
|
|
322
180
|
|
|
323
|
-
|
|
324
|
-
* The automatic setup code now checks for the presence of `metadata.json` in
|
|
325
|
-
the working directory. If not present, it assumes that rspec-puppet is
|
|
326
|
-
running from inside a control repo instead of a module and skips creating
|
|
327
|
-
the `spec/fixtures` directory structure and link.
|
|
181
|
+
## [v2.6.1](https://github.com/puppetlabs/rspec-puppet/tree/v2.6.1) - 2017-07-02
|
|
328
182
|
|
|
329
|
-
|
|
183
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.6.0...v2.6.1)
|
|
330
184
|
|
|
331
|
-
|
|
332
|
-
(`RSpec.configuration.setup_fixtures`) that controls whether rspec-puppet
|
|
333
|
-
will manage the `spec/fixtures` link.
|
|
185
|
+
## [v2.6.0](https://github.com/puppetlabs/rspec-puppet/tree/v2.6.0) - 2017-07-02
|
|
334
186
|
|
|
335
|
-
|
|
187
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.5.0...v2.6.0)
|
|
336
188
|
|
|
337
|
-
|
|
338
|
-
errors when creating the `spec/fixtures` link.
|
|
339
|
-
* The contents of the `networking` fact hash is no longer cleared when merging
|
|
340
|
-
in the facts derived from the node name.
|
|
189
|
+
## [v2.5.0](https://github.com/puppetlabs/rspec-puppet/tree/v2.5.0) - 2016-10-25
|
|
341
190
|
|
|
342
|
-
|
|
191
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.4.0...v2.5.0)
|
|
343
192
|
|
|
344
|
-
|
|
193
|
+
## [v2.4.0](https://github.com/puppetlabs/rspec-puppet/tree/v2.4.0) - 2016-03-24
|
|
345
194
|
|
|
346
|
-
|
|
347
|
-
manifest which caused them to get rendered as double quoted strings. This
|
|
348
|
-
caused a failure for tests of defined types that contained `$` characters
|
|
349
|
-
as Puppet would try and interpolate the values in the title as variable(s).
|
|
195
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.3.2...v2.4.0)
|
|
350
196
|
|
|
351
|
-
## [2.
|
|
197
|
+
## [v2.3.2](https://github.com/puppetlabs/rspec-puppet/tree/v2.3.2) - 2016-01-26
|
|
352
198
|
|
|
353
|
-
|
|
354
|
-
of work has been put in to support cross-platform tests, so that you can now
|
|
355
|
-
test your Windows manifests on \*nix, and your \*nix manifests on Windows.
|
|
199
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.3.1...v2.3.2)
|
|
356
200
|
|
|
357
|
-
|
|
201
|
+
## [v2.3.1](https://github.com/puppetlabs/rspec-puppet/tree/v2.3.1) - 2016-01-25
|
|
358
202
|
|
|
359
|
-
|
|
360
|
-
call `Puppet.settings` directly to make changes to settings without them
|
|
361
|
-
getting clobbered by rspec-puppet.
|
|
362
|
-
* Improved support for setting up the `spec/fixtures/modules` link on Windows
|
|
363
|
-
by using directory junctions instead of symlinks, removing the need for
|
|
364
|
-
Administrator access.
|
|
365
|
-
* When testing for the absence of a parameter on a resource, the error message
|
|
366
|
-
now contains the value(s) of the parameter(s) that should be undefined.
|
|
367
|
-
* When testing a defined type, the defined type being tested is no longer part
|
|
368
|
-
of the coverage report.
|
|
369
|
-
* The cached catalogue will now be invalidated when hiera-puppet-helper users
|
|
370
|
-
change their `hiera_data` value.
|
|
371
|
-
* Multiple instances of a defined type can now be tested at once by providing
|
|
372
|
-
an array of strings with `let(:title)`.
|
|
373
|
-
* Explicitly specifying the type of an example group (`:type => :class`) now
|
|
374
|
-
takes precedence over the type inferred from the spec file's location.
|
|
375
|
-
* The manifest specified in `RSpec.configuration.manifest` (path to `site.pp`
|
|
376
|
-
for Puppet < 4.x) is now imported if specified on Puppet >= 4.x.
|
|
377
|
-
* Puppet functions called when testing a Puppet function now get executed in
|
|
378
|
-
the same scope as parent function.
|
|
203
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.3.0...v2.3.1)
|
|
379
204
|
|
|
380
|
-
|
|
205
|
+
## [v2.3.0](https://github.com/puppetlabs/rspec-puppet/tree/v2.3.0) - 2015-12-15
|
|
381
206
|
|
|
382
|
-
|
|
383
|
-
start of the rspec-puppet run.
|
|
384
|
-
* CI testing of PRs on Windows via Appveyor.
|
|
385
|
-
* Support for setting node parameters (mocking the behaviour of an ENC or
|
|
386
|
-
Puppet Enterprise Console) using `let(:node_params)`.
|
|
387
|
-
* Support for injecting Puppet code at the end of the test code using
|
|
388
|
-
`let(:post_condition)`.
|
|
389
|
-
* Resource coverage reports for `host` specs.
|
|
390
|
-
* Puppet functions that take a lambda as a parameter can now be tested by
|
|
391
|
-
chaining `with_lambda` to the `run` matcher.
|
|
392
|
-
* Facts and trusted facts are now available when testing Puppet functions.
|
|
393
|
-
* Hiera configuration can now be specified when testing Puppet functions using
|
|
394
|
-
`let(:hiera_config)`.
|
|
395
|
-
* Trusted facts (`$trusted[]`) can now be specified in
|
|
396
|
-
`RSpec.configuration.default_trusted_facts` or by `let(:trusted_facts)`.
|
|
397
|
-
* `:default` is now a supported parameter value when passed in by
|
|
398
|
-
`let(:params)`.
|
|
399
|
-
* Support for testing Puppet data type aliases.
|
|
207
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.2.0...v2.3.0)
|
|
400
208
|
|
|
401
|
-
|
|
209
|
+
## [v2.2.0](https://github.com/puppetlabs/rspec-puppet/tree/v2.2.0) - 2015-05-28
|
|
402
210
|
|
|
403
|
-
|
|
404
|
-
precedence over the values specified in `RSpec.configuration.default_facts`
|
|
405
|
-
or by `let(:facts)`.
|
|
406
|
-
* Only fact names will now be converted to lowercase, not the fact values.
|
|
407
|
-
* Matchers now support resources where the namevar has a different value to
|
|
408
|
-
the title.
|
|
409
|
-
* Resources created outside of the module being tested by functions like
|
|
410
|
-
`create_resources` or `ensure_package` are no longer present in the coverage
|
|
411
|
-
report from Puppet 4.6 onwards.
|
|
412
|
-
* Guards have been put in place to prevent the possibility of rspec-puppet
|
|
413
|
-
getting stuck in an infinite recursion when testing the relationships
|
|
414
|
-
between resources.
|
|
415
|
-
* A full `spec/spec_helper.rb` file is now written out by `rspec-puppet-init`
|
|
416
|
-
to fix the `fixture_path` issue on new modules.
|
|
417
|
-
* The namevar of a resources is no longer taken into account when testing the
|
|
418
|
-
exact parameters of the resource with `only_with`.
|
|
419
|
-
* Minimum resource coverage check for RSpec <= 3.2.
|
|
420
|
-
* Resource parameters that take a hash as their value will no longer have that
|
|
421
|
-
hash converted into an array.
|
|
422
|
-
* Testing the value of a parameter with a Proc that returns `nil` now works as
|
|
423
|
-
expected.
|
|
424
|
-
* When testing Puppet functions, the function name is no longer automatically
|
|
425
|
-
coverted to lowercase.
|
|
426
|
-
* The value of `$::environment` is now forced to be a string as expected for
|
|
427
|
-
Puppet 4.0 - 4.3.
|
|
428
|
-
* app\_management is no longer enabled by rspec-puppet for Puppet >= 5.0 as it
|
|
429
|
-
is already enabled by default.
|
|
430
|
-
* Failing to provide parameters when testing an application now raises the
|
|
431
|
-
correct exception (`ArgumentError`).
|
|
432
|
-
* Ruby symbols in nested hashes or arrays are now converted into strings when
|
|
433
|
-
passed in by `let(:params)`.
|
|
434
|
-
* Namespaced resources are now correctly capitalised when being added to the
|
|
435
|
-
resource coverage filter.
|
|
436
|
-
|
|
437
|
-
## [2.5.0]
|
|
438
|
-
|
|
439
|
-
Headline features are app management, nested hashes in params, and testing for "internal" functions.
|
|
440
|
-
|
|
441
|
-
Thanks to everyone who contributed: Leo Arnold, Matt Schuchard, and Si Wilkins
|
|
211
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.1.0...v2.2.0)
|
|
442
212
|
|
|
443
|
-
|
|
213
|
+
## [v2.1.0](https://github.com/puppetlabs/rspec-puppet/tree/v2.1.0) - 2015-04-22
|
|
444
214
|
|
|
445
|
-
|
|
446
|
-
* Improve Gemfile to work with older rubies
|
|
215
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.0.1...v2.1.0)
|
|
447
216
|
|
|
448
|
-
|
|
217
|
+
## [v2.0.1](https://github.com/puppetlabs/rspec-puppet/tree/v2.0.1) - 2015-03-12
|
|
449
218
|
|
|
450
|
-
|
|
451
|
-
* Enable nested hashes in params
|
|
452
|
-
* After refactoring the function test code, puppet 4 "internal" functions can now be tested too
|
|
453
|
-
* Link functions and types on setup
|
|
454
|
-
* Increased test coverage
|
|
219
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v2.0.0...v2.0.1)
|
|
455
220
|
|
|
456
|
-
## [
|
|
221
|
+
## [v2.0.0](https://github.com/puppetlabs/rspec-puppet/tree/v2.0.0) - 2014-12-02
|
|
457
222
|
|
|
458
|
-
|
|
223
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v1.0.1...v2.0.0)
|
|
459
224
|
|
|
460
|
-
|
|
225
|
+
## [v1.0.1](https://github.com/puppetlabs/rspec-puppet/tree/v1.0.1) - 2013-12-06
|
|
461
226
|
|
|
462
|
-
|
|
227
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v1.0.0...v1.0.1)
|
|
463
228
|
|
|
464
|
-
|
|
229
|
+
## [v1.0.0](https://github.com/puppetlabs/rspec-puppet/tree/v1.0.0) - 2013-12-06
|
|
465
230
|
|
|
466
|
-
|
|
467
|
-
* Support a threshold for the code coverage test, that can fail the whole run.
|
|
468
|
-
* Ensure a consistent environment for all examples by adding a forced initialization of puppet before each.
|
|
231
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v0.1.6...v1.0.0)
|
|
469
232
|
|
|
470
|
-
|
|
233
|
+
## [v0.1.6](https://github.com/puppetlabs/rspec-puppet/tree/v0.1.6) - 2013-01-24
|
|
471
234
|
|
|
472
|
-
|
|
235
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v0.1.5...v0.1.6)
|
|
473
236
|
|
|
237
|
+
## [v0.1.5](https://github.com/puppetlabs/rspec-puppet/tree/v0.1.5) - 2012-10-03
|
|
474
238
|
|
|
475
|
-
|
|
239
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v0.1.4...v0.1.5)
|
|
476
240
|
|
|
477
|
-
|
|
241
|
+
## [v0.1.4](https://github.com/puppetlabs/rspec-puppet/tree/v0.1.4) - 2012-08-09
|
|
478
242
|
|
|
479
|
-
|
|
243
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v0.1.3...v0.1.4)
|
|
480
244
|
|
|
481
|
-
|
|
245
|
+
## [v0.1.3](https://github.com/puppetlabs/rspec-puppet/tree/v0.1.3) - 2012-04-07
|
|
482
246
|
|
|
483
|
-
|
|
247
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v0.1.1...v0.1.3)
|
|
484
248
|
|
|
485
|
-
|
|
249
|
+
## [v0.1.1](https://github.com/puppetlabs/rspec-puppet/tree/v0.1.1) - 2012-01-20
|
|
486
250
|
|
|
487
|
-
|
|
251
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v0.1.0...v0.1.1)
|
|
488
252
|
|
|
489
|
-
|
|
253
|
+
## [v0.1.0](https://github.com/puppetlabs/rspec-puppet/tree/v0.1.0) - 2011-11-04
|
|
490
254
|
|
|
491
|
-
|
|
255
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v0.0.9...v0.1.0)
|
|
492
256
|
|
|
493
|
-
|
|
494
|
-
- Limit the catalogue cache to 16 entries. Significant memory savings and reduced runtime were observed in testing this.
|
|
495
|
-
- Prevent Puppet 3's \_timestamp fact from invalidating cache.
|
|
496
|
-
- Extracted catalog cache from RSpec::Puppet::Support.
|
|
497
|
-
- Updated README to use the rspec 3 syntax, and additional explanations.
|
|
498
|
-
- `contain_file(...).with_content(...)` will now only show the diff and not the full contents of the file.
|
|
257
|
+
## [v0.0.9](https://github.com/puppetlabs/rspec-puppet/tree/v0.0.9) - 2011-09-17
|
|
499
258
|
|
|
500
|
-
|
|
501
|
-
- Custom type testing example group and matcher.
|
|
502
|
-
- before/require/subscribe/notify checking now searches recursively through all dependencies. `File[a] -> File[b] -> File[c]` is now matched by `contain_file('a').that_comes_before('File[c]')`, whereas earlier versions would have missed that.
|
|
503
|
-
- `let(:params)` now allows `:undef` to pass a literal undef value through to the subject.
|
|
504
|
-
- Support structured facts with keys as symbols or strings (\#295).
|
|
505
|
-
- rspec-puppet-init now creates smaller files, using rspec-puppet helpers, instead of pasting code into the module.
|
|
506
|
-
- Added a list of related projects to the README.
|
|
259
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v0.0.8...v0.0.9)
|
|
507
260
|
|
|
508
|
-
|
|
509
|
-
- Fix #276: `compile.and_raise_error` now correctly considers successful compilation an error
|
|
510
|
-
- Puppet's `modulepath` can now contain multiple entries and rspec-puppet will configure puppet to load code from all of them
|
|
511
|
-
- Support running with rspec 2.99 again
|
|
512
|
-
- non-class resources are now covered by the coverage code
|
|
513
|
-
- Fix #323/MODULES-2374: autorequires checking doesn't abort on "undefined method \`[]' for nil:NilClass"
|
|
514
|
-
- improved documentation for hiera integration, added example spec
|
|
515
|
-
- document the `scope` property
|
|
261
|
+
## [v0.0.8](https://github.com/puppetlabs/rspec-puppet/tree/v0.0.8) - 2011-08-29
|
|
516
262
|
|
|
517
|
-
|
|
263
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v0.0.7...v0.0.8)
|
|
518
264
|
|
|
519
|
-
|
|
265
|
+
## [v0.0.7](https://github.com/puppetlabs/rspec-puppet/tree/v0.0.7) - 2011-08-29
|
|
520
266
|
|
|
521
|
-
|
|
267
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v0.0.6...v0.0.7)
|
|
522
268
|
|
|
523
|
-
## [
|
|
524
|
-
### Added
|
|
525
|
-
- Settings for ordering, strict_variables, stringify_facts, and trusted_node_data
|
|
526
|
-
- Expose the scope in function example groups
|
|
269
|
+
## [v0.0.6](https://github.com/puppetlabs/rspec-puppet/tree/v0.0.6) - 2011-08-10
|
|
527
270
|
|
|
528
|
-
|
|
529
|
-
- rspec-puppet-init now works with Puppet 4
|
|
530
|
-
- Several fixes and enhancements for the `run` matcher
|
|
531
|
-
- Recompile the catalog when the hiera config changes
|
|
271
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v0.0.5...v0.0.6)
|
|
532
272
|
|
|
533
|
-
## [
|
|
534
|
-
### Added
|
|
535
|
-
- Puppet 4 support
|
|
536
|
-
- Ability to set `environment` in a let block
|
|
537
|
-
- Better function failure messages
|
|
273
|
+
## [v0.0.5](https://github.com/puppetlabs/rspec-puppet/tree/v0.0.5) - 2011-08-07
|
|
538
274
|
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
275
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v0.0.4...v0.0.5)
|
|
276
|
+
|
|
277
|
+
## [v0.0.4](https://github.com/puppetlabs/rspec-puppet/tree/v0.0.4) - 2011-08-07
|
|
278
|
+
|
|
279
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v0.0.3...v0.0.4)
|
|
543
280
|
|
|
544
|
-
## [2.0.1] - 2015-03-12
|
|
545
281
|
### Fixed
|
|
546
|
-
- Allow RSpec 2 to still be used
|
|
547
282
|
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
-
|
|
283
|
+
- Issue/master/remove faces call [#4](https://github.com/puppetlabs/rspec-puppet/pull/4) ([bodepd](https://github.com/bodepd))
|
|
284
|
+
- Added support.rb to rspec-puppet.gemspec. [#3](https://github.com/puppetlabs/rspec-puppet/pull/3) ([haus](https://github.com/haus))
|
|
285
|
+
- Resource exists check [#2](https://github.com/puppetlabs/rspec-puppet/pull/2) ([bodepd](https://github.com/bodepd))
|
|
551
286
|
|
|
552
|
-
|
|
553
|
-
- Ability to use RSpec 3
|
|
554
|
-
- Hiera integration
|
|
555
|
-
- Coverage reports
|
|
556
|
-
- Ability to test on the future parser
|
|
557
|
-
- Function tests now have a catalogue
|
|
558
|
-
- Add array of references support to Relationship matchers `that_requires`,
|
|
559
|
-
`that_comes_before`, `that_notifies`, and `that_subscribes_to`
|
|
287
|
+
## [v0.0.3](https://github.com/puppetlabs/rspec-puppet/tree/v0.0.3) - 2011-07-21
|
|
560
288
|
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
For changelog of versions 1.0.1 and earlier, see http://rspec-puppet.com/changelog/
|
|
567
|
-
|
|
568
|
-
[2.x]: https://github.com/puppetlabs/rspec-puppet/compare/v2.11.0...master
|
|
569
|
-
[2.11.0]: https://github.com/puppetlabs/rspec-puppet/compare/v2.10.0...v2.11.0
|
|
570
|
-
[2.10.0]: https://github.com/puppetlabs/rspec-puppet/compare/v2.9.0...v2.10.0
|
|
571
|
-
[2.9.0]: https://github.com/puppetlabs/rspec-puppet/compare/v2.8.0...v2.9.0
|
|
572
|
-
[2.8.0]: https://github.com/puppetlabs/rspec-puppet/compare/v2.7.10...v2.8.0
|
|
573
|
-
[2.7.10]: https://github.com/puppetlabs/rspec-puppet/compare/v2.7.9...v2.7.10
|
|
574
|
-
[2.7.9]: https://github.com/puppetlabs/rspec-puppet/compare/v2.7.8...v2.7.9
|
|
575
|
-
[2.7.8]: https://github.com/puppetlabs/rspec-puppet/compare/v2.7.7...v2.7.8
|
|
576
|
-
[2.7.7]: https://github.com/puppetlabs/rspec-puppet/compare/v2.7.6...v2.7.7
|
|
577
|
-
[2.7.6]: https://github.com/puppetlabs/rspec-puppet/compare/v2.7.5...v2.7.6
|
|
578
|
-
[2.7.5]: https://github.com/puppetlabs/rspec-puppet/compare/v2.7.4...v2.7.5
|
|
579
|
-
[2.7.4]: https://github.com/puppetlabs/rspec-puppet/compare/v2.7.3...v2.7.4
|
|
580
|
-
[2.7.3]: https://github.com/puppetlabs/rspec-puppet/compare/v2.7.2...v2.7.3
|
|
581
|
-
[2.7.2]: https://github.com/puppetlabs/rspec-puppet/compare/v2.7.1...v2.7.2
|
|
582
|
-
[2.7.1]: https://github.com/puppetlabs/rspec-puppet/compare/v2.7.0...v2.7.1
|
|
583
|
-
[2.7.0]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.15...v2.7.0
|
|
584
|
-
[2.6.15]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.14...v2.6.15
|
|
585
|
-
[2.6.14]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.13...v2.6.14
|
|
586
|
-
[2.6.13]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.12...v2.6.13
|
|
587
|
-
[2.6.12]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.11...v2.6.12
|
|
588
|
-
[2.6.11]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.10...v2.6.11
|
|
589
|
-
[2.6.10]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.9...v2.6.10
|
|
590
|
-
[2.6.9]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.8...v2.6.9
|
|
591
|
-
[2.6.8]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.7...v2.6.8
|
|
592
|
-
[2.6.7]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.6...v2.6.7
|
|
593
|
-
[2.6.6]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.5...v2.6.6
|
|
594
|
-
[2.6.5]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.4...v2.6.5
|
|
595
|
-
[2.6.4]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.3...v2.6.4
|
|
596
|
-
[2.6.3]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.2...v2.6.3
|
|
597
|
-
[2.6.2]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.1...v2.6.2
|
|
598
|
-
[2.6.1]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.0...v2.6.1
|
|
599
|
-
[2.6.0]: https://github.com/puppetlabs/rspec-puppet/compare/2.5.0...v2.6.0
|
|
600
|
-
[2.5.0]: https://github.com/puppetlabs/rspec-puppet/compare/v2.4.0...v2.5.0
|
|
601
|
-
[2.4.0]: https://github.com/puppetlabs/rspec-puppet/compare/v2.3.2...v2.4.0
|
|
602
|
-
[2.3.2]: https://github.com/puppetlabs/rspec-puppet/compare/v2.3.1...v2.3.2
|
|
603
|
-
[2.3.1]: https://github.com/puppetlabs/rspec-puppet/compare/v2.3.0...v2.3.1
|
|
604
|
-
[2.3.0]: https://github.com/puppetlabs/rspec-puppet/compare/v2.2.0...v2.3.0
|
|
605
|
-
[2.2.0]: https://github.com/puppetlabs/rspec-puppet/compare/v2.1.0...v2.2.0
|
|
606
|
-
[2.1.0]: https://github.com/puppetlabs/rspec-puppet/compare/v2.0.1...v2.1.0
|
|
607
|
-
[2.0.1]: https://github.com/puppetlabs/rspec-puppet/compare/v2.0.0...v2.0.1
|
|
608
|
-
[2.0.0]: https://github.com/puppetlabs/rspec-puppet/compare/v1.0.1...v2.0.0
|
|
289
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/v0.0.2...v0.0.3)
|
|
290
|
+
|
|
291
|
+
## [v0.0.2](https://github.com/puppetlabs/rspec-puppet/tree/v0.0.2) - 2011-07-19
|
|
292
|
+
|
|
293
|
+
[Full Changelog](https://github.com/puppetlabs/rspec-puppet/compare/3bbb83dc27e2b1621a5966f9d84722fdc3c4ba0a...v0.0.2)
|