Sha256: 1f6cee1d824b7b9c906763ada17504440b22fbb9c7b3df760de2e7f2457976df
Contents?: true
Size: 815 Bytes
Versions: 1
Compression:
Stored size: 815 Bytes
Contents
class packer::aws::users { include '::packer::aws' $service_acct = $::packer::aws::local_service_acct_user if $service_acct != 'ubuntu' { user { $service_acct: ensure => present, home => "/home/${service_acct}", managehome => true, } # -> # sudo::sudoers { $service_acct: # ensure => 'present', # users => [$service_acct], # tags => ['NOPASSWD'], # } } class { 'ohmyzsh::config': theme_hostname_slug => '%M' } # for multiple users in one shot and set their shell to zsh ohmyzsh::install { 'root': set_sh => true, disable_auto_update => true } ohmyzsh::install { $service_acct: set_sh => true, disable_update_prompt => true } ohmyzsh::plugins { ['root', $service_acct]: } ohmyzsh::theme { ['root', $service_acct]: } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bitswarmbox-1.0.0.pre16 | puppet/modules/packer/manifests/aws/users.pp |