Puppet Class: linuxmint::config::cinnamon

Inherits:
linuxmint::params
Defined in:
manifests/config/cinnamon.pp

Overview

linuxmint::config::cinnamon

Configures Linux Mint Cinnamon desktop

Parameters:

  • user (String) (defaults to: $linuxmint::params::user)

    Mandatory parameter that specifies the user to configure



6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'manifests/config/cinnamon.pp', line 6

class linuxmint::config::cinnamon (
  String $user  = $linuxmint::params::user,
) inherits linuxmint::params {
  assert_type(String[1], $user)

  # Move the panel to the top of the screen
  gnome::gsettings { 'org.cinnamon_panels-enabled':
    schema => 'org.cinnamon',
    key    => 'panels-enabled',
    value  => '"[\'1:0:top\']"',
    user   => $user,
  }
}