Creates an apache vhost and serves a very basic kickstart file.
Red Hat Enterprise Linux, CentOS, or other platforms that support Kickstart :-).
kickstart[:rootpw] - set the root password. Use an encrypted string.
a Ruby way to encrypt:
You'll almost certainly want to edit ks.cfg.erb to suit your environment. As is, the provided template is used as a minimal fast install for creating virtual machines to run CentOS 5. Of particular note, the following should definitely be changed:
url - mirrors.kernel.org is usually fast for me, but maybe not for you.
network - change the hostname.
rootpw - this is an attribute, so you can change it by modifying the server. Use the encrypted password!
Storage / disks should probably be customized, as well as firewall rules, SELinux policy, and the package list.
The %post section will install Chef via Matthew Kent's RPMs, per the Chef Wiki instructions.
To use the recipe on a system that will be the kickstart server,
LICENSE and AUTHOR:
Joshua Timberman (<email@example.com>)
2009, Opscode, Inc.
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.