Puppet Class: controlplane

Defined in:
manifests/init.pp

Overview

Class: controlplane

Install controlplane

Parameters:

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


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

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