Skip to content

Commit

Permalink
Merge cb774c0 into ca19203
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjfisher committed Feb 5, 2020
2 parents ca19203 + cb774c0 commit cb715d5
Show file tree
Hide file tree
Showing 17 changed files with 1 addition and 439 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Some of them are even intrinsically tied to stdlib.
## Usage

Since `puppet/extlib` version 3, all functions are provided under the `extlib` namespace.
Non namespaced versions are available in this release, but deprecated and will be removed in the next major release.
Non namespaced versions were removed in version 5.

All functions are documented in [REFERENCE.md](REFERENCE.md)

Expand Down
28 changes: 0 additions & 28 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@
* [`extlib::resources_deep_merge`](#extlibresources_deep_merge): Deeply merge a "defaults" hash into a "resources" hash like the ones expected by `create_resources()`.
* [`extlib::sort_by_version`](#extlibsort_by_version): A function that sorts an array of version numbers.

**Facts**

* [`puppet_config`](#puppet_config): A fact to expose puppet settings on the agent, unlike `$settings::<setting_name>` which is resolved on the puppet master

## Functions

### extlib::cache_data
Expand Down Expand Up @@ -719,30 +715,6 @@ Type: Ruby 4.x API

A function that sorts an array of version numbers.

## Facts

### puppet\_config

This facts exposes some facts from both the main and master section of the puppet agent configueration. The following facts are supported

```
{
main => {
hostpubkey,
hostprivkey,
hostcert,
localcacert,
ssldir,
vardir,
server,
},
master => {
localcacert,
ssldir,
}
}
```

#### Examples

##### Calling the function
Expand Down
11 changes: 0 additions & 11 deletions lib/puppet/functions/cache_data.rb

This file was deleted.

11 changes: 0 additions & 11 deletions lib/puppet/functions/default_content.rb

This file was deleted.

11 changes: 0 additions & 11 deletions lib/puppet/functions/dump_args.rb

This file was deleted.

11 changes: 0 additions & 11 deletions lib/puppet/functions/echo.rb

This file was deleted.

11 changes: 0 additions & 11 deletions lib/puppet/functions/ip_to_cron.rb

This file was deleted.

11 changes: 0 additions & 11 deletions lib/puppet/functions/random_password.rb

This file was deleted.

11 changes: 0 additions & 11 deletions lib/puppet/functions/resources_deep_merge.rb

This file was deleted.

40 changes: 0 additions & 40 deletions spec/functions/cache_data_spec.rb

This file was deleted.

37 changes: 0 additions & 37 deletions spec/functions/default_content_spec.rb

This file was deleted.

30 changes: 0 additions & 30 deletions spec/functions/dump_args_spec.rb

This file was deleted.

39 changes: 0 additions & 39 deletions spec/functions/echo_spec.rb

This file was deleted.

45 changes: 0 additions & 45 deletions spec/functions/ip_to_cron_spec.rb

This file was deleted.

30 changes: 0 additions & 30 deletions spec/functions/random_password_spec.rb

This file was deleted.

Loading

0 comments on commit cb715d5

Please sign in to comment.