Puppet Class: onepassword
- Defined in:
- manifests/init.pp
Overview
Class: onepassword
Full description of class onepassword here.
Parameters
- sample_parameter
-
Explanation of what this parameter affects and what it defaults to.
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'manifests/init.pp', line 10
class onepassword (
$install_path = "/Users/${::boxen_user}/Applications/1Password.app"
) {
if $::vault_synced {
class { '::onepassword::config': } ->
package { 'onepassword-beta-halyard':
provider => 'brewcask',
require => Homebrew::Tap['halyard/casks']
} ->
osx_login_item { '1Password 6':
path => $install_path
} ~>
exec { 'launch 1password':
command => "/usr/bin/open '${install_path}'",
refreshonly => true,
}
}
}
|