Skip to content
This repository has been archived by the owner on Jun 28, 2018. It is now read-only.

Commit

Permalink
Removing vestigal limbs from private chef
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhjk authored and Seth Falcon committed Dec 7, 2012
1 parent 43d2667 commit a07db29
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions files/chef-server-cookbooks/chef-server/libraries/chef_server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,29 +41,6 @@ module ChefServer

class << self

def server(name=nil, opts={})
if name
ChefServer["servers"] ||= Mash.new
ChefServer["servers"][name] = Mash.new(opts)
end
ChefServer["servers"]
end

def servers
ChefServer["servers"]
end

def backend_vip(name=nil, opts={})
if name
ChefServer['backend_vips'] ||= Mash.new
ChefServer['backend_vips']["fqdn"] = name
opts.each do |k,v|
ChefServer['backend_vips'][k] = v
end
end
ChefServer['backend_vips']
end

# guards against creating secrets on non-bootstrap node
def generate_hex(chars)
SecureRandom.hex(chars)
Expand Down

0 comments on commit a07db29

Please sign in to comment.