Skip to content

Instantly share code, notes, and snippets.

View someara's full-sized avatar

Sean OMeara someara

View GitHub Profile
someara / rhel5.ks
Created December 3, 2021 19:12 — forked from jbarber/rhel5.ks
RHEL5 kickstart example
# Example Kickstart config file for RHEL5, change $VARIABLES to suitable values
# for your site
# Usage from linux kernel boot prompt:
# linux ks=http://$SERVER_ADDR/ks/rhel5-example.ks ip=$IPADDR netmask=$NETMASK gateway=$GATEWAY [nokill] [keymap=pt-latin1] [noipv6] [debug]
# More boot options at
# Options for this section can be found at
set -euo pipefail
# This script JSON formatted stdin and produces as JSON formatted stdout
# Sean OMeara <>
export PATH=$PATH:$1/bin
function error_exit() {

Keybase proof

I hereby claim:

  • I am someara on github.
  • I am someara ( on keybase.
  • I have a public key ASApYXGkBHJu7BQuP5jJ2sFdG12cug2Mo2zgx7kvu_39Xgo

To claim this, I am signing this object:

package 'foo' fo
action :install
template '/etc/foo' do
notifies :restart, 'service[foo]'
# this will be started, then restarted on the first chef-client run
service 'foo' do
# container A
template '/some/Dockerfile' do
action :create
template '/some/file' do
action :create
docker_image 'databass' do
Community cookbooks are important to me
How long have you been using Chef?
I expect Community cookbooks to "just work"
I expect the Chef Software maintained cookbooks to "just work"
I tried to reuse Community cookbooks as part of the evaluation process
Community cookbooks have positively affected my decision to adopt Chef
Community cookbooks have negatively affected my decision to adopt Chef
someara / gist:9591343
Last active August 29, 2015 13:57
application cookbook pattern
laptop:~/src ls -la
total 0
drwxr-xr-x 7 someara staff 238 Mar 16 19:19 .
drwxr-xr-x 210 someara staff 7140 Mar 16 19:20 ..
drwxr-xr-x 2 someara staff 68 Mar 16 19:19 apache2
drwxr-xr-x 2 someara staff 68 Mar 16 19:19 munin
drwxr-xr-x 3 someara staff 102 Mar 16 19:20 myface
drwxr-xr-x 2 someara staff 68 Mar 16 19:19 mysql
drwxr-xr-x 2 someara staff 68 Mar 16 19:19 selinx
[root@default-centos-58-someara-derpy ~]# rpm -qa | grep centos-release
[root@default-centos-58-someara-derpy ~]# curl -L ''
derpy:~/src/opscode-cookbooks/sudo$ b kitchen converge create-centos-64
-----> Starting Kitchen (v1.2.1)
-----> Creating <create-centos-64>...
Digital Ocean instance <1176786> created.
..................... (server ready)
(ssh ready)
Finished creating <create-centos-64> (0m38.55s).
-----> Converging <create-centos-64>...
Preparing files for transfer