/
default.rb
83 lines (67 loc) · 2.44 KB
/
default.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#execute "testing" do
# command %Q{
# echo "i ran at #{Time.now}" >> /root/cheftime
# }
#end
# uncomment to turn on thinking sphinx/ultra sphinx. Remember to edit cookbooks/sphinx/recipes/default.rb first!
# require_recipe "sphinx"
#uncomment to turn on memcached
# require_recipe "memcached"
#uncomment to run the authorized_keys recipe
#require_recipe "authorized_keys"
#uncomment to run the eybackup_slave recipe
#require_recipe "eybackup_slave"
#uncomment to run the ssmtp recipe
#require_recipe "ssmtp"
#uncomment to run the sunspot recipe
# require_recipe "sunspot"
#uncomment to run the exim recipe
#exim_auth "auth" do
# my_hostname "my_hostname.com"
# smtp_host "smtp.sendgrid.net"
# username "username"
# password "password"
#end
#uncomment to run the resque recipe
#require_recipe "resque"
#uncomment to run the redis recipe
# require_recipe "redis"
#require_recipe "logrotate"
#
#uncomment to use the solr recipe
#require_recipe "solr"
#uncomment to include the emacs recipe
#require_recipe "emacs"
#uncomment to include the eybackup_verbose recipe
#require_recipe "eybackup_verbose"
#uncomment to include the mysql_replication_check recipe
#require_recipe "mysql_replication_check"
#uncomment to include the mysql_administrative_tools recipe
# additional configuration of this recipe is required
#require_recipe "mysql_administrative_tools"
#enable contrib modules for a given Postgresql9 database
if ['solo','db_master', 'db_slave'].include?(node[:instance_role])
# postgresql9_autoexplain "postgres_test"
# postgresql9_chkpass "postgres_test"
# postgresql9_citext "postgres_test"
# postgresql9_cube "postgres_test"
# postgresql9_dblink "postgres_test"
# postgresql9_earthdistance "postgres_test"
# postgresql9_fuzzystrmatch "postgres_test"
# postgresql9_hstore "postgres_test"
# postgresql9_intagg "postgres_test"
# postgresql9_isn "postgres_test"
# postgresql9_lo "postgres_test"
# postgresql9_ltree "postgres_test"
# postgresql9_pg_buffercache "postgres_test" - Not done
# postgresql9_pg_freespacemap "postgres_test" - Not done
# postgresql9_pg_stat_statements"postgres_test" - Not done
# postgresql9_pg_trgm "postgres_test" - Not done
# postgresql9_pgcrypto "postgres_test"
# postgresql9_pgrowlocks "postgres_test"
# postgresql9_postgis "postgres_test"
# postgresql9_seg "postgres_test"
# postgresql9_tablefunc "postgres_test"
# postgresql9_unaccent "postgres_test"
# postgresql9_uuid_ossp "postgres_test"
end