Added sensative to new ssh-pvt deployment

This commit is contained in:
Eric Renfro 2016-07-21 12:33:23 -04:00
parent 8cca9e32aa
commit 673a44a90c

View file

@ -233,24 +233,26 @@ end
### SSH key for IPA server communications
#
directory "/root/.ssh" do
owner "root"
group "root"
mode "0700"
owner "root"
group "root"
mode "0700"
action :create
end
file "/root/.ssh/id_rsa" do
content passwords["ssh-pvt"]
owner "root"
group "root"
mode "0600"
owner "root"
group "root"
mode "0600"
sensitive true
end
file "/root/.ssh/id_rsa.pub" do
content passwords["ssh-pub"]
owner "root"
group "root"
mode "0600"
owner "root"
group "root"
mode "0600"
sensitive true
end
ruby_block "add public key to authorized_keys" do