Added admin.password file for escelating kerberos auth

This commit is contained in:
Eric Renfro 2016-07-16 19:08:11 -04:00
parent 7a3bab841a
commit 73f104031f
3 changed files with 11 additions and 1 deletions

View file

@ -4,7 +4,7 @@ maintainer_email 'psi-jack@linux-help.org'
license 'GPLv3' license 'GPLv3'
description 'Installs/Configures freeipa' description 'Installs/Configures freeipa'
long_description 'Installs/Configures freeipa' long_description 'Installs/Configures freeipa'
version '0.1.0' version '0.1.1'
depends 'ohai' depends 'ohai'
depends 'chef-vault' depends 'chef-vault'

View file

@ -169,7 +169,16 @@ else
command cmd command cmd
ignore_failure true ignore_failure true
end end
end
template '/etc/ipa/admin.password' do
source 'admin.password.erb'
user 'root'
group 'root'
mode '0600'
variables (
password => passwords['ipa_user_pwd']
)
end end
##### services ##### services

View file

@ -0,0 +1 @@
<%= password -%>