Skip to content

Commit bcbd308

Browse files
committed
(CONT-1048) - Removal of Deprecated node_encrypt::file
This commit removes the now deprecated node_encrypt::file defined type. This type was retained for backwards code compatiblity, but was just a wrapper for the deferred function. This commit removes this deprecated defined type, in preparation of the upcoming major release.
1 parent db52d60 commit bcbd308

File tree

3 files changed

+0
-145
lines changed

3 files changed

+0
-145
lines changed

README.md

-10
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,6 @@ built secret server. See [docs](https://puppet.com/docs/puppet/latest/integratio
9696
* `node_encrypt::certificates`
9797
* This class will synchronize certificates to all compile servers.
9898
* Generally not needed, unless the `clientcert_pem` fact fails for some reason.
99-
* `node_encrypt::file`
100-
* Legacy type for backwards code compatibility.
101-
* It just invokes the deferred functions for you so that your old code will
102-
continue to compile. This means that it now requires Puppet 6.x+. You should
103-
migrate to the deferred function as soon as possible, as this type will be
104-
removed in the next major version.
105-
* This is a defined type that wraps a standard file resource, but allows you
106-
to encrypt the content in the catalog and reports.
10799

108100
The simplest usage is like the example shown in the [Overview](#overview). This
109101
defined type accepts most of the standard file parameters and simply encrypts the
@@ -297,8 +289,6 @@ functions:
297289
returns: '-----BEGIN PKCS7----- MOCKED_DATA'
298290
```
299291
300-
(Note, the text of the mock return is important for users of the `node_encrypt::file` defined type.)
301-
302292
## Disclaimer
303293
304294
I take no liability for the use of this module. As this uses standard Ruby and

manifests/file.pp

-78
This file was deleted.

spec/defines/file_spec.rb

-57
This file was deleted.

0 commit comments

Comments
 (0)