summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/cobbler/snippets/kickstart_chef-validator.pem
blob: 515a2195743a513ffb98c11096a81acdf4beab34 (plain)
1
2
3
4
5
6
7
8
#if $getVar('chef_validation_file', '') == ""
    #set chef_validation_file = '/etc/chef-server/chef-validator.pem'
#end if
#set f = $open($chef_validation_file)
cat << EOL > /etc/chef/validation.pem
#echo $f.read()
EOL
#silent $f.close()