Puppet Class: bartender

Defined in:
manifests/init.pp

Overview

Class: bartender

Install bartender

Parameters:

  • install_path (Any) (defaults to: "/Users/${::boxen_user}/Applications/Bartender 2.app")


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

class bartender (
  $install_path = "/Users/${::boxen_user}/Applications/Bartender 2.app",
) {
  package { 'bartender':
    provider => 'brewcask'
  }->
  osx_login_item { 'Bartender 2':
    hidden => true,
    path   => $install_path
  } ~>
  exec { 'launch bartender':
    command     => "/usr/bin/open '${install_path}'",
    refreshonly => true,
  }
}