Added admin.password file for escelating kerberos auth
This commit is contained in:
parent
7a3bab841a
commit
73f104031f
3 changed files with 11 additions and 1 deletions
|
@ -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'
|
||||||
|
|
|
@ -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
|
||||||
|
|
1
templates/default/admin.password.erb
Normal file
1
templates/default/admin.password.erb
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<%= password -%>
|
Loading…
Reference in a new issue