compass-adapters/cobbler/snippets/preseed_chef-validator.pem
xiaodongwang 4db535fd31 reformat preseed
Change-Id: I7c86310f1788ef144442b269b91581e48f7c8fda
2014-11-11 17:49:39 -08:00

9 lines
239 B
Plaintext

#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()