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