forked from chef-boneyard/cookbooks
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cook-189, use 'set_unless' for compatibility, but may switch to 'defa…
…ult' later
- Loading branch information
jtimberman
committed
Oct 5, 2009
1 parent
304fc08
commit 576aa6f
Showing
26 changed files
with
164 additions
and
164 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
default[:erlang][:gui_tools] = false | ||
set_unless[:erlang][:gui_tools] = false |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
default[:gem_server][:rf_virtual_host_name] = "rubyforge.#{domain}" | ||
default[:gem_server][:rf_virtual_host_alias] = "rubyforge" | ||
default[:gem_server][:rf_directory] = "/srv/rubyforge" | ||
set_unless[:gem_server][:rf_virtual_host_name] = "rubyforge.#{domain}" | ||
set_unless[:gem_server][:rf_virtual_host_alias] = "rubyforge" | ||
set_unless[:gem_server][:rf_directory] = "/srv/rubyforge" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
default[:gem_server][:virtual_host_name] = "gems.#{domain}" | ||
default[:gem_server][:virtual_host_alias] = "gems" | ||
default[:gem_server][:directory] = "/srv/gems" | ||
set_unless[:gem_server][:virtual_host_name] = "gems.#{domain}" | ||
set_unless[:gem_server][:virtual_host_alias] = "gems" | ||
set_unless[:gem_server][:directory] = "/srv/gems" |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
default[:kickstart][:rootpw] = nil | ||
default[:kickstart][:virtual_host_name] = "build.#{domain}" | ||
set_unless[:kickstart][:rootpw] = nil | ||
set_unless[:kickstart][:virtual_host_name] = "build.#{domain}" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
default[:maradns][:recursive_acl] = "" | ||
set_unless[:maradns][:recursive_acl] = "" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
default[:memcached][:memory] = 64 | ||
default[:memcached][:port] = 11211 | ||
default[:memcached][:user] = "nobody" | ||
set_unless[:memcached][:memory] = 64 | ||
set_unless[:memcached][:port] = 11211 | ||
set_unless[:memcached][:user] = "nobody" |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
case platform | ||
when "ubuntu","debian" | ||
default[:ntp][:service] = "ntp" | ||
set_unless[:ntp][:service] = "ntp" | ||
when "redhat","centos","fedora" | ||
default[:ntp][:service] = "ntpd" | ||
set_unless[:ntp][:service] = "ntpd" | ||
end | ||
|
||
default[:ntp][:is_server] = false | ||
default[:ntp][:servers] = ["0.us.pool.ntp.org", "1.us.pool.ntp.org"] | ||
set_unless[:ntp][:is_server] = false | ||
set_unless[:ntp][:servers] = ["0.us.pool.ntp.org", "1.us.pool.ntp.org"] |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Toggle for recipes to determine if we should rely on distribution packages | ||
# or gems. | ||
default[:packages][:dist_only] = false | ||
set_unless[:packages][:dist_only] = false |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
default[:passenger][:version] = "2.2.5" | ||
set_unless[:passenger][:version] = "2.2.5" | ||
set[:passenger][:root_path] = "#{languages[:ruby][:gems_dir]}/gems/passenger-#{passenger[:version]}" | ||
set[:passenger][:module_path] = "#{passenger[:root_path]}/ext/apache2/mod_passenger.so" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
default[:postfix][:mail_type] = "client" | ||
default[:postfix][:myhostname] = fqdn | ||
default[:postfix][:mydomain] = domain | ||
default[:postfix][:myorigin] = "$myhostname" | ||
default[:postfix][:relayhost] = "" | ||
default[:postfix][:mail_relay_networks] = "127.0.0.0/8" | ||
set_unless[:postfix][:mail_type] = "client" | ||
set_unless[:postfix][:myhostname] = fqdn | ||
set_unless[:postfix][:mydomain] = domain | ||
set_unless[:postfix][:myorigin] = "$myhostname" | ||
set_unless[:postfix][:relayhost] = "" | ||
set_unless[:postfix][:mail_relay_networks] = "127.0.0.0/8" | ||
|
||
default[:postfix][:smtp_sasl_auth_enable] = "no" | ||
set_unless[:postfix][:smtp_sasl_auth_enable] = "no" | ||
|
||
if postfix[:smtp_sasl_auth_enable] == "yes" | ||
default[:postfix][:smtp_sasl_password_maps] = "hash:/etc/postfix/sasl_passwd" | ||
default[:postfix][:smtp_sasl_security_options] = "noanonymous" | ||
default[:postfix][:smtp_tls_cafile] = "/etc/postfix/cacert.pem" | ||
default[:postfix][:smtp_use_tls] = "yes" | ||
default[:postfix][:smtp_sasl_user_name] = "" | ||
default[:postfix][:smtp_sasl_passwd] = "" | ||
set_unless[:postfix][:smtp_sasl_password_maps] = "hash:/etc/postfix/sasl_passwd" | ||
set_unless[:postfix][:smtp_sasl_security_options] = "noanonymous" | ||
set_unless[:postfix][:smtp_tls_cafile] = "/etc/postfix/cacert.pem" | ||
set_unless[:postfix][:smtp_use_tls] = "yes" | ||
set_unless[:postfix][:smtp_sasl_user_name] = "" | ||
set_unless[:postfix][:smtp_sasl_passwd] = "" | ||
end |
Oops, something went wrong.