Skip to content

Latest commit

 

History

History
123 lines (69 loc) · 3.18 KB

REFERENCE.md

File metadata and controls

123 lines (69 loc) · 3.18 KB

Reference

Table of Contents

Classes

Public Classes

  • ntp: Install and use the script secure-time-sync in a cron job to update the locale time with HTTPS or TOR.
  • privacy: Reduces the information your computer can share.
  • wifi: Install and configure the wifi.

Private Classes

  • pkgs: Install and configure packages when needed.
  • pkgs::cron: Install package cronie.
  • pkgs::entropy: Install jitterentropy-rngd or haveged, depend of os.family.
  • pkgs::iwd
  • pkgs::macchanger
  • pkgs::openssh
  • pkgs::tor
  • pkgs::wpa_supplicant

Classes

ntp

Use secure-time-sync to update the locale time with HTTPS or TOR.

Parameters

The following parameters are available in the ntp class:

use_tor

Data type: Boolean

If you use TOR, it use onion address for torproject.org or tails.boom.org.

Default value: 'false'

privacy

Reduces the information your computer can share.

Parameters

The following parameters are available in the privacy class:

generic_hostname

Data type: Boolean

If true, use a generic value for the file /etc/hostname and /etc/hosts.

Default value: 'false'

generic_locale

Data type: Boolean

If true, set locale and lang to US in /etc/locale.gen and /etc/locale.conf.

Default value: 'false'

generic_machine_id

Data type: Boolean

If true, create a generic value for the file /etc/machine-id and /var/lib/dbus/machine-id if exist.

Default value: 'false'

generic_timezone

Data type: Boolean

If true, change the file /etc/localtime to use a generic timezone like UTC.

Default value: 'false'

spoof_mac_ethernet

Data type: Boolean

Install and use the package macchanger to change your mac address for ethernet cards.

Default value: 'false'

wifi

Install and configure the wifi.

Parameters

The following parameters are available in the wifi class:

client

Data type: Enum['iwd', 'wpa_supplicant']

Install and configure the package iwd or wpa_supplicant.

Default value: 'iwd'

spoof_mac

Data type: Boolean

If true, configure the client (iwd or wpa_supplicant) to spoof the MAC address.

Default value: 'false'