The new provider has fewer dependencies than rest_v2 (with apipie-bindings), therefore it's easier to package the dependencies for an AIO version of Puppet. puppet-agent-oauth will be provided by the Foreman repositories to install the oauth gem into the AIO environment.
All Ruby 1.9+ installations, including Puppet AIO packages, won't need a JSON package as they include a bundled 'json' library.
The provider's been split into a base type+provider (supported as per PUP-2458) to make it easier to add and update other types in future.
The addition of the SSL CA in the type is required with the OAuth gem's HTTP request support, as it enables verification by default when it detects CA bundles in common locations.
Thanks to @liamjbennett, whose work this is partly based on.
closes GH-432
Related issues
Feature #14455: Add foreman_smartproxy provider with dependencies for AIO
fixes #14455 - add rest_v3 smart proxy provider using OAuth gem
The new provider has fewer dependencies than rest_v2 (with
apipie-bindings), therefore it's easier to package the dependencies for
an AIO version of Puppet. puppet-agent-oauth will be provided by the
Foreman repositories to install the oauth gem into the AIO environment.
All Ruby 1.9+ installations, including Puppet AIO packages, won't need
a JSON package as they include a bundled 'json' library.
The provider's been split into a base type+provider (supported as per
PUP-2458) to make it easier to add and update other types in future.
The addition of the SSL CA in the type is required with the OAuth gem's
HTTP request support, as it enables verification by default when it
detects CA bundles in common locations.
Thanks to @liamjbennett, whose work this is partly based on.
closes GH-432