Puppet Class: gpg
- Defined in:
- manifests/init.pp
Overview
Class: gpg
Full description of class gpg 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 28 29 30 31 32 33 34 35 36 37 |
# File 'manifests/init.pp', line 10
class gpg (
) {
package { ['gnupg-halyard', 'gnupg-legacy-halyard']:
require => Homebrew::Tap['halyard/formulae']
}
package { 'gpgtools-halyard':
provider => 'brewcask',
require => Homebrew::Tap['halyard/casks']
}
$bad_files = [
'/usr/local/bin/gpg',
'/Library/LaunchAgents/org.gpgtools.macgpg2.fix.plist',
'/Library/LaunchAgents/org.gpgtools.macgpg2.shutdown-gpg-agent.plist'
]
file { $bad_files:
ensure => absent,
require => Package['gpgtools-halyard']
}
file { "/Users/${::boxen_user}/.gnupg":
ensure => directory,
owner => $::boxen_user,
group => 'staff',
mode => 'u+rwX,go-rwx',
require => Package['gpgtools-halyard']
}
}
|