Commit b049bd4d authored by Christopher Huhn's avatar Christopher Huhn
Browse files

Object syntax for node attributes has become an error in Chef 13

parent 2f09e8f8
Pipeline #2420 failed with stages
in 7 minutes and 41 seconds
# Created by Chef and the fai cookbook, do not edit manually
FAI=/var/lib/fai/config
FAI_CONFIGDIR=<%= node.fai.configdir %>
FAI_CONFIGDIR=<%= node['fai']['configdir'] %>
FAI_CONFIG_SRC=<%= @config_src %>
LOGUSER=
MNTPOINT=/media/mirror
......@@ -4,8 +4,8 @@ TFTPROOT=<%= @tftpdir || '/srv/tftp/fai' %>
<%= "FAI_CONFIGDIR=#{@config_src}" if @config_src %>
NFSROOT_ETC_HOSTS="<%= node['ipaddress'] %> <%= node['fqdn'] %>"
FAI_DEBOOTSTRAP="<%= "#{@codename} #{@debmirror_url}" %>"
<% if node.fai.root_pw_hash %>
FAI_ROOTPW='<%= node.fai.root_pw_hash %>'
<% if node['fai']['root_pw_hash'] %>
FAI_ROOTPW='<%= node['fai']['root_pw_hash'] %>'
<% end %>
<% if node["fai"]["root_ssh_pubkey"] -%>
SSH_IDENTITY=<%= node['fai']['root_ssh_pubkey'] %>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment