diff options
author | mh <mh@immerda.ch> | 2010-04-27 02:02:14 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2010-04-27 02:02:14 +0200 |
commit | ecf8079a8d3b96743c661122906a95fbd8e01e98 (patch) | |
tree | ef1abffe26b5021dd5d54eaa23744e2323be99e1 /manifests | |
parent | 6c84f44ee648db35d91f6f2a13f3ba4f6a1eecf8 (diff) |
add some rubygems, add dep to tlsmail for mail for ruby 1.8.6
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/backports.pp | 7 | ||||
-rw-r--r-- | manifests/mail.pp | 4 | ||||
-rw-r--r-- | manifests/tlsmail.pp | 7 |
3 files changed, 18 insertions, 0 deletions
diff --git a/manifests/backports.pp b/manifests/backports.pp new file mode 100644 index 0000000..4290e34 --- /dev/null +++ b/manifests/backports.pp @@ -0,0 +1,7 @@ +class rubygems::backports { + require rubygems::devel + package{'backports': + ensure => present, + provider => gem, + } +} diff --git a/manifests/mail.pp b/manifests/mail.pp index a7c5f1a..4afa0c7 100644 --- a/manifests/mail.pp +++ b/manifests/mail.pp @@ -4,4 +4,8 @@ class rubygems::mail { ensure => present, provider => gem, } + + if $rubyversion == '1.8.6' { + require rubygems::tlsmail + } } diff --git a/manifests/tlsmail.pp b/manifests/tlsmail.pp new file mode 100644 index 0000000..71aa615 --- /dev/null +++ b/manifests/tlsmail.pp @@ -0,0 +1,7 @@ +class rubygems::tlsmail { + require rubygems::devel + package{'tlsmail': + ensure => present, + provider => gem, + } +} |