Permalink
Browse files

Updated more 'managed' requires references.

  • Loading branch information...
1 parent 9a97768 commit d4858638b73332bcb5c99ba98f51a72ea8eb24e1 @benhoskings committed Jul 21, 2010
Showing with 9 additions and 10 deletions.
  1. +1 −1 istat.rb
  2. +2 −2 lua.rb
  3. +1 −2 packages.rb
  4. +1 −1 sbt.rb
  5. +1 −1 shells.rb
  6. +2 −2 system.rb
  7. +1 −1 user.rb
View
@@ -1,5 +1,5 @@
dep 'istat.src' do
- requires 'libxml'
+ requires 'libxml.managed'
source 'http://istatd.googlecode.com/files/istatd-0.5.4.tar.gz'
provides 'istatd'
end
View
@@ -1,12 +1,12 @@
dep 'lua.managed'
dep 'luarocks.src' do
- requires 'lua'
+ requires 'lua.managed'
source 'http://luarocks.org/releases/luarocks-2.0.1.tar.gz'
end
dep 'Lua.tmbundle' do
- requires 'lua'
+ requires 'lua.managed'
source 'git://github.com/textmate/lua.tmbundle.git'
end
View
@@ -18,12 +18,11 @@
dep 'gettext.managed'
dep 'htop.managed'
dep 'image_science.gem' do
- requires 'freeimage'
+ requires 'freeimage.managed'
provides []
end
dep 'java.managed' do
installs { via :apt, 'sun-java6-jre' }
- provides 'java'
after { shell "set -Ux JAVA_HOME /usr/lib/jvm/java-6-sun" }
end
dep 'jnettop.managed' do
View
@@ -1,5 +1,5 @@
dep 'sbt' do
- requires 'java'
+ requires 'java.managed'
merge :versions, :sbt => '0.5.4'
met? { which 'sbt' }
meet {
View
@@ -10,7 +10,7 @@
end
dep 'fish.src' do
- requires 'ncurses', 'coreutils', 'gettext'
+ requires 'ncurses.managed', 'coreutils.managed', 'gettext.managed'
source "git://github.com/benhoskings/fish.git"
end
View
@@ -15,7 +15,7 @@ def ssh_conf_path file
end
dep 'secured ssh logins' do
- requires 'sshd', 'sed'
+ requires 'sshd.managed', 'sed.managed'
met? {
# -o NumberOfPasswordPrompts=0
output = failable_shell('ssh -o StrictHostKeyChecking=no -o PasswordAuthentication=no nonexistentuser@localhost').stderr
@@ -37,7 +37,7 @@ def ssh_conf_path file
end
dep 'lax host key checking' do
- requires 'sed'
+ requires 'sed.managed'
met? { grep /^StrictHostKeyChecking[ \t]+no/, ssh_conf_path(:ssh) }
meet { change_with_sed 'StrictHostKeyChecking', 'yes', 'no', ssh_conf_path(:ssh) }
end
View
@@ -18,7 +18,7 @@
end
dep 'dot files' do
- requires 'user exists', 'git', 'curl'
+ requires 'user exists', 'git', 'curl.managed'
met? { File.exists?(ENV['HOME'] / ".dot-files/.git") }
meet { shell %Q{curl -L "http://github.com/#{var :github_user, :default => 'benhoskings'}/#{var :dot_files_repo, :default => 'dot-files'}/raw/master/clone_and_link.sh" | bash} }
end

0 comments on commit d485863

Please sign in to comment.