Commit 3818e686 authored by mh's avatar mh
Browse files

refactoring

parent d7240eb3
class mongrel::base {
package{'mongrel':
ensure => installed,
}
}
class mongrel::centos inherits mongrel::base {
Package[mongrel]{
# you should find this package @rubyworks
name => 'rubygem-mongrel',
}
}
class mongrel::gentoo inherits mongrel::base {
Package[mongrel]{
category => 'www-servers',
}
}
......@@ -2,8 +2,6 @@
# Copyright (C) 2007 admin@immerda.ch
# GPLv3
# modules_dir { "mongrel": }
class mongrel {
case $operatingsystem {
gentoo: { include mongrel::gentoo }
......@@ -11,21 +9,3 @@ class mongrel {
default: { include mongrel::base }
}
}
class mongrel::base {
package{'mongrel':
ensure => installed,
}
}
class mongrel::centos inherits mongrel::base {
Package[mongrel]{
# you should find this package @rubyworks
name => 'rubygem-mongrel',
}
}
class mongrel::gentoo inherits mongrel::base {
Package[mongrel]{
category => 'www-servers',
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment