Puppet Class: adapta_gtk_theme

Inherits:
adapta_gtk_theme::params
Defined in:
manifests/init.pp

Overview

Class: adapta_gtk_theme

Manage installation and configuration of adapta-gtk-theme on Ubuntu along with recommended font roboto, installing from ppa

Examples:

Declaring the class

include adapta_gtk_theme

Declaring the class with parameters

class { 'adapta_gtk_theme':
  font_package_ensure  => 'latest',
  theme_package_ensure => 'latest',
}

Parameters:

  • font_package_ensure (String) (defaults to: $adapta_gtk_theme::params::font_package_ensure)

    Specifies whether to install the fonts-roboto package, and what version to install

  • theme_package_ensure (String) (defaults to: $adapta_gtk_theme::params::theme_package_ensure)

    Specifies whether to install the adapta-gtk-theme package, and what version to install



15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# File 'manifests/init.pp', line 15

class adapta_gtk_theme (
  String $font_package_ensure  = $adapta_gtk_theme::params::font_package_ensure,
  String $theme_package_ensure = $adapta_gtk_theme::params::theme_package_ensure,
) inherits adapta_gtk_theme::params {

  class { 'adapta_gtk_theme::install':
    font_package_ensure  => $font_package_ensure,
    theme_package_ensure => $theme_package_ensure,
  }

  class { 'adapta_gtk_theme::config':
    font_package_ensure  => $font_package_ensure,
    theme_package_ensure => $theme_package_ensure,
  }

  contain adapta_gtk_theme::install
  contain adapta_gtk_theme::config

  Class['adapta_gtk_theme::install']
    -> Class['adapta_gtk_theme::config']
}