Permalink
Browse files

cleanup

  • Loading branch information...
1 parent d9fa607 commit a6f6a23516323232275f454bf0b14d87ec536c55 @hollow hollow committed Feb 10, 2013
Showing with 3 additions and 8 deletions.
  1. +1 −2 README.rst
  2. +1 −3 cookbooks/backup/recipes/default.rb
  3. +1 −3 cookbooks/openssl/recipes/default.rb
View
@@ -11,8 +11,7 @@ The repository uses RVM and Bundler to manage ruby and dependencies required by
Chef. To start your own copy of this repository clone the repository first and
bootstrap your local rvm environment::
- git clone https://github.com/zenops/cookbooks chef
- cd chef
+ git clone https://github.com/zenops/cookbooks chef && cd chef
./scripts/bootstrap
Repository Layout
@@ -20,9 +20,7 @@
append true
end
- u[:chroot] = true if u[:chroot].nil?
-
- if u[:chroot]
+ if u[:chroot] or u[:chroot].nil?
ssh_chroot_sftp u[:id] do
directory "/backup"
end
@@ -25,9 +25,7 @@
result = false
Find.find('/etc/ssl/certs') do |path|
- if File.symlink?(path) and not File.exist?(path)
- result = true
- end
+ result = true if File.symlink?(path) and not File.exist?(path)
end
result

0 comments on commit a6f6a23

Please sign in to comment.