diff options
Diffstat (limited to 'deploy/adapters/cobbler/snippets/kickstart_chef-validator.pem')
-rw-r--r-- | deploy/adapters/cobbler/snippets/kickstart_chef-validator.pem | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/deploy/adapters/cobbler/snippets/kickstart_chef-validator.pem b/deploy/adapters/cobbler/snippets/kickstart_chef-validator.pem new file mode 100644 index 00000000..515a2195 --- /dev/null +++ b/deploy/adapters/cobbler/snippets/kickstart_chef-validator.pem @@ -0,0 +1,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() |