summaryrefslogtreecommitdiff
path: root/puppet/modules/site_nickserver/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/site_nickserver/manifests')
-rw-r--r--puppet/modules/site_nickserver/manifests/init.pp12
1 files changed, 5 insertions, 7 deletions
diff --git a/puppet/modules/site_nickserver/manifests/init.pp b/puppet/modules/site_nickserver/manifests/init.pp
index 4a80d8fd..03af4acb 100644
--- a/puppet/modules/site_nickserver/manifests/init.pp
+++ b/puppet/modules/site_nickserver/manifests/init.pp
@@ -39,12 +39,10 @@ class site_nickserver {
# NICKSERVER CODE
#
- #file { '/srv/leap/nickserver':
- # ensure => directory,
- # owner => 'nickserver',
- # group => 'nickserver',
- # require => User['nickserver'];
- #}
+ # libssl-dev must be installed before eventmachine gem in order to support TLS
+ package {
+ 'libssl-dev': ensure => installed;
+ }
vcsrepo { '/srv/leap/nickserver':
ensure => present,
revision => 'origin/master',
@@ -61,7 +59,7 @@ class site_nickserver {
unless => '/usr/bin/bundle check',
user => 'nickserver',
timeout => 600,
- require => [ Class['bundler::install'], Vcsrepo['/srv/leap/nickserver'] ],
+ require => [ Class['bundler::install'], Vcsrepo['/srv/leap/nickserver'], Package['libssl-dev'] ],
notify => Service['nickserver'];
}