Skip to content

Latest commit

 

History

History
134 lines (72 loc) · 2.76 KB

REFERENCE.md

File metadata and controls

134 lines (72 loc) · 2.76 KB

Reference

Table of Contents

Classes

Resource types

  • snap_conf: Manage snap configuration both system wide and snap specific.

Classes

snap

The snap class.

Parameters

The following parameters are available in the snap class:

package_ensure

Data type: String[1]

The state of the snapd package.

Default value: 'installed'

service_ensure

Data type: Enum['stopped', 'running']

The state of the snapd service.

Default value: 'running'

service_enable

Data type: Boolean

Run the system service on boot.

Default value: true

core_snap_ensure

Data type: String[1]

The state of the snap core.

Default value: 'installed'

manage_repo

Data type: Boolean

Whether we should manage EPEL repo or not.

Default value: false

net_http_unix_ensure

Data type: Enum['present', 'installed', 'absent']

The state of net_http_unix gem.

Default value: 'installed'

Resource types

snap_conf

Manage snap configuration both system wide and snap specific.

Properties

The following properties are available in the snap_conf type.

ensure

Valid values: present, absent

The desired state of the snap configuration.

Default value: present

Parameters

The following parameters are available in the snap_conf type.

conf

Name of configuration option.

Default value: ''

name

namevar

An unique name for this define.

provider

The specific backend to use for this snap_conf resource. You will seldom need to specify this --- Puppet will usually discover the appropriate provider for your platform.

snap

The snap to configure the value for. This can be the reserved name system for system wide configurations.

Default value: ''

value

Value of configuration option.