summaryrefslogtreecommitdiff
path: root/puppet/modules/site_nickserver
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-10-10 15:32:26 +0200
committervarac <varacanero@zeromail.org>2013-10-11 17:56:45 +0200
commit23304bbc281ef25b9ad2a607631aaa728e9c7b29 (patch)
tree7a0f7e372e6c6cb4632b2d449ad19bad629e0829 /puppet/modules/site_nickserver
parentc655713c15263848b5af8fc8d8b6b41e69cb8d1c (diff)
install ruby-dev for nickserver/webapp (#4079 + #4080)
Diffstat (limited to 'puppet/modules/site_nickserver')
-rw-r--r--puppet/modules/site_nickserver/manifests/init.pp9
1 files changed, 5 insertions, 4 deletions
diff --git a/puppet/modules/site_nickserver/manifests/init.pp b/puppet/modules/site_nickserver/manifests/init.pp
index bf0511d5..59613f7b 100644
--- a/puppet/modules/site_nickserver/manifests/init.pp
+++ b/puppet/modules/site_nickserver/manifests/init.pp
@@ -13,7 +13,7 @@ class site_nickserver {
tag 'leap_service'
Class['site_config::default'] -> Class['site_nickserver']
- include site_config::ruby
+ include site_config::ruby::dev
#
# VARIABLES
@@ -65,7 +65,7 @@ class site_nickserver {
#
package {
- 'libssl-dev': ensure => installed;
+ [ 'libssl-dev' ]: ensure => installed;
}
vcsrepo { '/srv/leap/nickserver':
@@ -85,8 +85,9 @@ class site_nickserver {
unless => '/usr/bin/bundle check',
user => 'nickserver',
timeout => 600,
- require => [ Class['bundler::install'], Vcsrepo['/srv/leap/nickserver'],
- Package['libssl-dev'] ],
+ require => [
+ Class['bundler::install'], Vcsrepo['/srv/leap/nickserver'],
+ Package['libssl-dev'], Package['ruby-dev'] ],
notify => Service['nickserver'];
}