Skip to content

Commit

Permalink
Changes for release of chef 0.7.16
Browse files Browse the repository at this point in the history
  • Loading branch information
jtimberman committed Dec 23, 2009
1 parent f5e60f7 commit 9bc13cd
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
5 changes: 3 additions & 2 deletions bootstrap/attributes/bootstrap.rb
Expand Up @@ -21,15 +21,16 @@
chars = ("a".."z").to_a + ("A".."Z").to_a + ("0".."9").to_a
20.times { |i| validation_token << chars[rand(chars.size-1)] }

set_unless[:bootstrap][:chef][:umask] = 0022
set_unless[:bootstrap][:chef][:url_type] = "http"
set_unless[:bootstrap][:chef][:init_style] = "runit"
set_unless[:bootstrap][:chef][:path] = "/srv/chef"
set_unless[:bootstrap][:chef][:run_path] = "/var/run/chef"
set_unless[:bootstrap][:chef][:cache_path] = "/#{bootstrap[:chef][:path]}/cache"
set_unless[:bootstrap][:chef][:serve_path] = "/srv/chef"

set_unless[:bootstrap][:chef][:server_version] = "0.7.14"
set_unless[:bootstrap][:chef][:client_version] = "0.7.14"
set_unless[:bootstrap][:chef][:server_version] = "0.7.16"
set_unless[:bootstrap][:chef][:client_version] = "0.7.16"
set_unless[:bootstrap][:chef][:client_interval] = "1800"
set_unless[:bootstrap][:chef][:client_splay] = "20"
set_unless[:bootstrap][:chef][:log_dir] = "/var/log/chef"
Expand Down
2 changes: 1 addition & 1 deletion bootstrap/metadata.rb
Expand Up @@ -3,7 +3,7 @@
license "Apache 2.0"
description "Configures RubyGems-installed Chef"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
version "0.1"
version "0.2"

%w{ ubuntu debian redhat centos fedora freebsd openbsd }.each do |os|
supports os
Expand Down
2 changes: 2 additions & 0 deletions bootstrap/templates/default/server.rb.erb
Expand Up @@ -24,6 +24,8 @@ openid_cstore_path "<%= @node[:bootstrap][:chef][:path] %>/openid/cstore"
search_index_path "<%= @node[:bootstrap][:chef][:path] %>/search_index"
role_path "<%= @node[:bootstrap][:chef][:serve_path] %>/roles"

umask <%= @node[:bootstrap][:chef][:umask] %>

# See http://wiki.opscode.com/display/chef/Securing+Chef+Server
# For more information on these settings.
#authorized_openid_providers [ "https://<%= @node[:bootstrap][:chef][:server_fqdn]%>", "https://chef", "myopenid.com" ]
Expand Down
5 changes: 3 additions & 2 deletions chef/attributes/chef.rb
Expand Up @@ -21,6 +21,7 @@
chars = ("a".."z").to_a + ("A".."Z").to_a + ("0".."9").to_a
20.times { |i| validation_token << chars[rand(chars.size-1)] }

set_unless[:chef][:umask] = 0022
set_unless[:chef][:url_type] = "http"
set_unless[:chef][:init_style] = "runit"

Expand All @@ -37,8 +38,8 @@
set_unless[:chef][:serve_path] = "/srv/chef"
end

set_unless[:chef][:server_version] = "0.7.14"
set_unless[:chef][:client_version] = "0.7.14"
set_unless[:chef][:server_version] = "0.7.16"
set_unless[:chef][:client_version] = "0.7.16"
set_unless[:chef][:client_interval] = "1800"
set_unless[:chef][:client_splay] = "20"
set_unless[:chef][:log_dir] = "/var/log/chef"
Expand Down
2 changes: 1 addition & 1 deletion chef/metadata.rb
Expand Up @@ -3,7 +3,7 @@
license "Apache 2.0"
description "Installs and configures chef client and server"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
version "0.12"
version "0.13"
recipe "chef::client", "Sets up a client to talk to a chef-server"
recipe "chef::server", "Configures a chef-server as a passenger application"

Expand Down
2 changes: 2 additions & 0 deletions chef/templates/default/server.rb.erb
Expand Up @@ -24,6 +24,8 @@ openid_cstore_path "<%= @node[:chef][:path] %>/openid/cstore"
search_index_path "<%= @node[:chef][:path] %>/search_index"
role_path "<%= @node[:chef][:serve_path] %>/roles"

umask <%= @node[:chef][:umask] %>

# See http://wiki.opscode.com/display/chef/Securing+Chef+Server
# For more information on these settings.
#authorized_openid_providers [ "https://<%= @node[:chef][:server_fqdn]%>", "https://chef", "myopenid.com" ]
Expand Down

0 comments on commit 9bc13cd

Please sign in to comment.