#if $getVar('chef_admin_file', '') == ""
    #set chef_admin_file = '/etc/chef-server/admin.pem'
#end if
#set f = $open($chef_admin_file)
cat << EOL > /etc/chef/admin.pem
#echo $f.read()
EOL
#silent $f.close()