Created
April 25, 2010 16:24
-
-
Save veszig/378516 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name "gentoo_base" | |
description "Base role applied to all gentoo systems." | |
run_list( | |
"recipe[gentoo]", | |
"recipe[gentoo::packages]", | |
"recipe[ruby]", | |
"recipe[hosts]", | |
"recipe[logrotate]", | |
"recipe[iptables::ulogd]", | |
"recipe[iptables]", | |
"recipe[nagios::nrpe]", | |
"recipe[monit]", | |
"recipe[chef::client]", | |
"recipe[syslog-ng]", | |
"recipe[vixie-cron]", | |
"recipe[msmtp]", | |
"recipe[sudo]", | |
"recipe[openssh]", | |
"recipe[openssh::known_hosts]", | |
"recipe[openntpd]", | |
"recipe[net-snmp]", | |
"recipe[vim]", | |
"recipe[bash-completion]", | |
"recipe[users::root]", | |
"recipe[users::veszig]" | |
) | |
default_attributes( | |
"chef" => { | |
"client" => { | |
"server_url" => "https://chef.done.hu:4443" | |
} | |
}, | |
"gentoo" => { | |
"accept_licenses" => "*", | |
"elog_mailuri" => "[email protected] mail.done.hu", | |
"rsync_mirror" => "rsync://rsync.europe.gentoo.org/gentoo-portage", | |
"distfile_mirrors" => %w(http://gentoo.inf.elte.hu/ http://gentoo.inode.at/ http://gentoo.osuosl.org/), | |
"hwtimezone" => "local", | |
"timezone" => "Europe/Budapest", | |
"locales" => ["en_US ISO-8859-1", "en_US.UTF-8 UTF-8", "hu_HU ISO-8859-2", "hu_HU.UTF-8 UTF-8"] | |
}, | |
"monit" => { | |
"mailservers" => ["mail.done.hu", "mx2.done.hu"], | |
"alert_mail_to" => "[email protected]" | |
}, | |
"msmtp" => { | |
"host" => "mail.done.hu", | |
"user" => "[email protected]", | |
"password" => "secret" | |
}, | |
"ntpd" => { | |
"pool" => "hu.pool.ntp.org" | |
}, | |
"password" => { | |
"directory" => "/root/private" | |
}, | |
"snmpd" => { | |
"monitoring_ips" => %w(127.0.0.1 192.168.1.200), | |
"syscontact" => "Gabor VESZI <[email protected]>" | |
}, | |
"sshd" => { | |
"allow_users" => %w(veszig) | |
} | |
) | |
# override_attributes() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment