Moved mongrel package to own class.
This commit is contained in:
parent
0e03596339
commit
c06bdf76f0
1 changed files with 14 additions and 0 deletions
14
mongrel/manifests/init.pp
Normal file
14
mongrel/manifests/init.pp
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
|
||||||
|
# Install Ruby Mongrel packages.
|
||||||
|
#
|
||||||
|
class mongrel {
|
||||||
|
|
||||||
|
package { "mongrel":
|
||||||
|
name => $operatingsystem ? {
|
||||||
|
openbsd => "ruby-mongrel",
|
||||||
|
default => "rubygem-mongrel",
|
||||||
|
},
|
||||||
|
ensure => installed,
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue