Skip to content

Instantly share code, notes, and snippets.

@imbriaco
Forked from jtimberman/base.rb
Created August 5, 2009 04:15
Show Gist options
  • Save imbriaco/162501 to your computer and use it in GitHub Desktop.
Save imbriaco/162501 to your computer and use it in GitHub Desktop.
name "base"
description "Base role is applied to all servers."
recipes %w{
build-essential
chef::client
man
openldap::auth
openssh
postfix
perl
rsyslog::client
runit
ruby
sudo
zsh
}
default_attributes :chef => { :server_fqdn => "chef.example.com" },
:authorization => { :sudo => { :groups => [ "sysadmin" ] } },
:rsyslog => { :server => false },
:openldap => {
:server => "ldap.example.com",
:basedn => "dc=example,dc=com"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment