Permalink
Browse files

Add framework deps for inspircd

  • Loading branch information...
1 parent e103718 commit 431226a50a518d861b280c4a55163865d52ad93b @richo richo committed Oct 7, 2012
Showing with 23 additions and 0 deletions.
  1. +17 −0 apt.rb
  2. +3 −0 inspircd.rb
  3. +3 −0 system.rb
View
@@ -0,0 +1,17 @@
+dep "quantal apt source" do
+ setup {
+ @list = "/etc/apt/sources.list.d/quantal.list"
+ }
+ met? {
+ File.exist? @list
+ }
+ meet {
+ sudo "tee #{@list}", :input => <<-EOF
+deb http://archive.ubuntu.com/ubuntu quantal main
+deb http://archive.ubuntu.com/ubuntu quantal universe
+EOF
+ }
+ after {
+ sudo "aptitude update"
+ }
+end
View
@@ -0,0 +1,3 @@
+dep "inspircd.managed" do
+ requires "quantal apt source"
+end
View
@@ -0,0 +1,3 @@
+dep "inspircd server" do
+ requires "inspircd.managed"
+end

0 comments on commit 431226a

Please sign in to comment.