Commit 2ec93f8a authored by mh's avatar mh
Browse files

new style for 2.7

parent 3818e686
class mongrel::base {
package{'mongrel':
ensure => installed,
}
package{'mongrel':
ensure => installed,
}
}
class mongrel::centos inherits mongrel::base {
Package[mongrel]{
# you should find this package @rubyworks
name => 'rubygem-mongrel',
}
Package[mongrel]{
# you should find this package @rubyworks
name => 'rubygem-mongrel',
}
}
class mongrel::gentoo inherits mongrel::base {
Package[mongrel]{
category => 'www-servers',
}
Package[mongrel]{
category => 'www-servers',
}
}
......@@ -3,9 +3,9 @@
# GPLv3
class mongrel {
case $operatingsystem {
gentoo: { include mongrel::gentoo }
centos: { include mongrel::centos }
default: { include mongrel::base }
}
case $::operatingsystem {
gentoo: { include mongrel::gentoo }
centos: { include mongrel::centos }
default: { include mongrel::base }
}
}
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