Sha256: ea376519c0e926ffe0993d6ea7b58e930b473b09b6d7612f868b570432db5769
Contents?: true
Size: 517 Bytes
Versions: 11
Compression:
Stored size: 517 Bytes
Contents
# # Cookbook Name:: wombat # Recipe:: authorized-keys # # Copyright (c) 2016 The Authors, All Rights Reserved. append_if_no_line "Add certificate to authorized_keys" do path "/home/#{node['demo']['admin-user']}/.ssh/authorized_keys" line lazy { IO.read('/tmp/public.pub') } not_if { node['platform'] == 'windows' } end node.default['authorization']['sudo']['include_sudoers_d'] = true sudo 'centos' do user 'centos' nopasswd true defaults ['!requiretty'] only_if { node['platform'] == 'centos' } end
Version data entries
11 entries across 11 versions & 1 rubygems