Skip to content

Latest commit

 

History

History
149 lines (83 loc) · 3.2 KB

REFERENCE.md

File metadata and controls

149 lines (83 loc) · 3.2 KB

Reference

Table of Contents

Classes

  • firefox: Manage the Firefox web browser

Defined types

Classes

firefox

Manage the Firefox web browser

Parameters

The following parameters are available in the firefox class:

directory

Data type: Stdlib::Absolutepath

Base directory of Firefox's installation

owner

Data type: Optional[String[1]]

User owning the configuration files

group

Data type: Optional[String[1]]

Group owning the configuration files

package

Data type: String

The name of the firefox package

package_ensure

Data type: Enum['present', 'latest']

Value of the ensure parameter of the firefox package

manage_package

Data type: Boolean

Manage the firefox package on the system

Default value: true

package_provider

Data type: Optional[String[1]]

Value of the provider parameter of the firefox package

Default value: undef

managed_directories

Data type: Array[String[1]]

A list of directories to manage

Default value:

[
    'browser/defaults',
    'browser/defaults/preferences',
    'distribution',
  ]
preferences_file

Data type: Stdlib::Absolutepath

Path to Firefox's preferences configuration file

Default value: "${directory}/browser/defaults/preferences/00-puppet-preferences.js"

policies_file

Data type: Stdlib::Absolutepath

Path to Firefox's policies file

Default value: "${directory}/distribution/policies.json"

policies

Data type: Hash

The policies to deploy, see https://github.com/mozilla/policy-templates for the structure of this Hash

Default value: {}

Defined types

firefox::pref

Manage a Firefox preference

Parameters

The following parameters are available in the firefox::pref defined type:

value

Data type: Variant[Integer, Float, String, Boolean]

Value of the preference

locked

Data type: Boolean

Indicate if users are able to override this setting

Default value: false