Skip to content

Latest commit

 

History

History
162 lines (93 loc) · 3.35 KB

REFERENCE.md

File metadata and controls

162 lines (93 loc) · 3.35 KB

Reference

Table of Contents

Classes

Classes

resource_api

This class calls the resource_api::install class.

Examples

Declaring the class
include resource_api

resource_api::agent

This class installs the Resource API gem into puppet agent

  • Note Deprecated, use resource_api::install::agent

Examples

Declaring the class
include resource_api::agent

Parameters

The following parameters are available in the resource_api::agent class.

api_version

Data type: String

A specific release version of Resource API to install

Default value: 'latest'

resource_api::install

This class installs dependencies of the Resource API into the puppet agent, and/or the puppetserver service.

Examples

Declaring the class
include resource_api::install

resource_api::install::agent

This class installs the Resource API gem into puppet agent

Examples

Declaring the class
include resource_api::install::agent

Parameters

The following parameters are available in the resource_api::install::agent class.

api_version

Data type: String

A specific release version of Resource API to install

Default value: 'latest'

resource_api::install::master

This class installs the Resource API gem into puppetserver, and restarts the puppetserver service to activate.

Examples

Declaring the class
include resource_api::install::master

Parameters

The following parameters are available in the resource_api::install::master class.

api_version

Data type: String

A specific release version of Resource API to install

Default value: 'latest'

puppetserver_service

Data type: Type[Resource]

The name of the puppetserver service to restart

Default value: $facts['pe_server_version']

resource_api::server

This class installs the Resource API gem into puppetserver, and restarts the puppetserver service to activate.

  • Note Deprecated, use resource_api::install::server

Examples

Declaring the class
include resource_api::server

Parameters

The following parameters are available in the resource_api::server class.

api_version

Data type: String

A specific release version of Resource API to install

Default value: 'latest'

puppetserver_service

Data type: Type[Resource]

The name of the puppetserver service to reboot

Default value: $facts['pe_server_version']