compass-adapters/cobbler/snippets/suse_chef-validator.pem
xiaodongwang 1b3faedded add initial version of suse support
Change-Id: If960011e7ac8996ce1c0365b9dd06ed89b26fa8a
2015-03-03 22:51:03 -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()