diff options
author | Ezra Zygmuntowicz <ez@engineyard.com> | 2008-10-08 14:19:52 -0700 |
---|---|---|
committer | Ezra Zygmuntowicz <ez@engineyard.com> | 2008-10-08 14:19:52 -0700 |
commit | c5d33c1298834ce40b8fbf344f281045771b5371 (patch) | |
tree | 1f0d4c7eab1eb379b544282a7ce48052acf719a5 /docs | |
parent | 3d14601aea23dee3899d097324875274da419d84 (diff) | |
download | chef-c5d33c1298834ce40b8fbf344f281045771b5371.tar.gz |
big refactor of the repo layout. move to a chef gem and a chef-server gem all with proper deps
Diffstat (limited to 'docs')
-rw-r--r-- | docs/design/HighLevel.graffle | bin | 1910 -> 0 bytes | |||
-rw-r--r-- | docs/recipe.rb | 97 |
2 files changed, 0 insertions, 97 deletions
diff --git a/docs/design/HighLevel.graffle b/docs/design/HighLevel.graffle Binary files differdeleted file mode 100644 index e3a5aec187..0000000000 --- a/docs/design/HighLevel.graffle +++ /dev/null diff --git a/docs/recipe.rb b/docs/recipe.rb deleted file mode 100644 index b132ff42ea..0000000000 --- a/docs/recipe.rb +++ /dev/null @@ -1,97 +0,0 @@ -#namespace :openldap do -# recipe :auth do |n| - -include_recipe 'openldap::client' -include_recipe 'openssh' -include_recipe 'nscd' - -file "/etc/nsswitch.conf" { - insure = "present" - owner = "root" - group = "root" - mode = 0644 -} - -file "/etc/ldap.conf" { - insure = "present" - owner = "root" - group = "root" - mode = 0644 - requires = resources(:file => "/etc/nsswitch.conf") -} - -file "/etc/ldap.conf" do - insure = "present" - owner = "root" - group = "root" - mode = 0644 - requires = resources() -end - -remote_file "nsswitch.conf" { - path "/etc/nsswitch.conf" - source "nsswitch.conf" - module "openldap" - mode 0644 - owner "root" - group "root" - requires :file => "nsswitch-ldap-file", :exec => [ "one", "two" ] - notifies :service => "nscd", :exec => [ "nscd-clear-passwd", "nscd-clear-group" ] - provider 'File::Rsync' -} - -remote_file "nsswitch.conf" { - path = "/etc/nsswitch.conf" - source = "nsswitch.conf" - module = "openldap" - mode = 0644 - owner = "root" - group = "root" - requires = resources :file => "nsswitch-ldap-file", - :exec => [ "one", "two" ] - notifies = resources :service => "nscd", - :exec => [ "nscd-clear-passwd", "nscd-clear-group" ] - provider = 'File::Rsync' -} - -service "nscd" do |s| - s.insure = "running" -end - -case node[:lsbdistid] -when "CentOS" - template_file "ldap.conf" do |f| - f.path = "/etc/ldap.conf" - f.content = "openldap/ldap.conf.erb" - f.mode = 644 - f.owner = "root" - f.group = "root" - f.alias = "nsswitch-ldap-file" - f.notify = resource(:exec => [ "nscd-clear-passwd", "nscd-clear-group"] ) - f.require = resource(:package => "nss_ldap") - end - package "nss_ldap" do |p| - p.insure = "latest" - end -end - -# end -#end - -definition "rails_app" do |n, args| - check_arguments(args, { - :port_number => 8000, - :mongrel_servers => 2, - :rails_environment => "production", - :rails_path => nil, - :rails_user => nil, - :rails_group => nil, - :canonical_hostname => false, - :template => 'rails/rails.conf.erb' - } - ) - file "sites-#{@name}" do |f| - - end -end - |