summaryrefslogtreecommitdiff
path: root/puppet/modules/site_nickserver/manifests/init.pp
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-05-18 22:55:34 -0700
committerelijah <elijah@riseup.net>2013-05-18 22:55:34 -0700
commitb3cd7fc827d51007053ae1077cda2a2fc78a48dc (patch)
tree2c1948856c301c2cefc471135537a901b93743af /puppet/modules/site_nickserver/manifests/init.pp
parent450fb19a4df8f4740dcf077b585dbd77c096d133 (diff)
nickserver - ensure libssl-dev is installed before EventMachine gem is installed.
Diffstat (limited to 'puppet/modules/site_nickserver/manifests/init.pp')
-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'];
}