Displaying 20 results from an estimated 10000 matches similar to: "Blank lines in conditional templates"
2008 Aug 21
1
ultramonkey and asterisk
hi all,
has anyone able to configure ultramonkey for sip (namely asterisk).
i tried from this tutorial:
http://blog.iclutton.com/2008/01/load-balancing-and-high-availablity.html
i have this on my ldirectord.cf:
virtual=123.45.67.155:5060
real=123.45.67.130:5060 gate
real=123.45.67.131:5060 gate
service=sip
scheduler=rr
protocol=udp
2012 May 15
1
ldirectord package on centos 6
Hi,
I'm looking for the ldirectord package but can't find it. Previously this
was available as "heartbeat-ldirectord" and nowadays it is built as an
independent package from "resource-agents" however neither seems to be
available either in core centos 6 or epel. Where did it go?
Regards,
Dennis
2008 Feb 06
1
Dependency problem in heartbeat-ldirectord update for Centos 4.6
I've just been trying to do a "yum update" on a Centos 4.6 system, and one
of the packages it wants to upgrade is heartbeat-ldirectord from 2.1.2-3
to 2.1.3-2
However, the newer version has dependency problems that can't be resolved:
[root at miton2 ~]# yum update
Loading "fastestmirror" plugin
Loading "protectbase" plugin
Setting up Update Process
Setting
2009 Apr 16
3
Depot App Who Bought Enhancements
I''ve completed the chapter on Internationalization successfully, but
found out just recently that the "Who Bought" function produces an
error page that looks very ugly when someone enters a product ID that
does not exist. My preference would be to design the app to have a
list of hyperlinks presented when you visit the URL, http://localhost:3000/info/
that describes the list of
2011 Aug 03
1
Loadbalance Repo / ldirectord packages?
Hi *,
we want to migrate our loadbalancers running CentOS 5.6 to new hardware
and CentOS 6, however the (heartbeat-)ldirectord package seems to be
hidden in the new LoadBalance repo in RHEL6. Any chance to get the RHEL
SRPMs from this repo?
Regards,
Peter
2006 Dec 22
1
IPVS connections not removed
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font color="#000000">Hi centos users,<br>
<br>
2011 Nov 18
2
Are tildes actually valid in templates or is this a bug?
Hi all,
First off, we''re running Puppet 2.7.6 with Ruby 1.8.7 on CentOS 6.0.
Now, I''m using tildes in a template to prevent newlines from appearing but
ruby/puppet is choking on them.
*/tmp/puppet$ cat test.erb*
Line 1: Line 2 will exist if running on CentOS.
<% if operatingsystem == "CentOS" ~%>
Line 2: Yay, we''re running CentOS.
<% end ~%>
2010 Feb 13
2
So, what about clustering and load balancing?
Hello world,
so, with beta2 of Dovecot 2.0 being available, what is the preferred
way to achieve load balancing and fault tolerance? As far as I can see
it, there are basically two options:
1) Use a HA shared storage, export either a cluster filesystem or NFS,
and have your dovecot servers mount that file system. Load balance
these servers (Cisco ACE, ldirectord, ...) and there you go. Overall
2011 Apr 25
4
dovecot & OCFS2 Cluster
hi all
We have an ocfs2 cluster compose of 4 Debian lenny serveurs wich have
access to an ISCSI LUN we have create a partition on this Lun and
formated this partition as OCFS2.
2 serveurs does mail delivery (SMTP) and the two other are pop/imap
servers. The smtp servers use dovecot LDA to deliver to mailboxes. La
version de dovecot is 1.2.13, ldirectord balance conexion to the
2014 Aug 18
1
Health monitoring of backend servers
Does Dovecot Director health monitoring of backend servers ?
Or is poolmon (http://www.dovecot.org/list/dovecot/2010-August/051946.html) the
best option for this?
Maybe Ldirectord?
Thanks!
--
Thiago Henrique
www.adminlinux.com.br
2009 Aug 25
17
WHy is rails so annoying to deploy?
I''ve been having great fun trying to deploy a fresh install of rails on
debian, specifically xlsuite to test it out, but my god how many more
errors can I take before I give up.
RAILS IS NOT NICE
After battling with countless different errors from trying Ubuntu,
Fedora, Windows and now Debian the list goes on and on and ON...
now the latest error
`load_missing_constant'':
2009 Oct 21
3
Rails generator fails to generate all files
Hi
Ive lost all idea of why this can happen
I normally use rails to generate a new project
rails myproject -d mysql
inside the myproject directory normally there would be a file called
application.html.erb, with in the public directory a file called
style.css
Now I dont get anything at all, they are missing
All my previous projects have those files,
using 2.3.4 Ruby 1.9.1 Windows
Any
2006 Aug 28
10
Templates and arrays
I''m in the process of documenting templates right now, and I figured
I should see what happens when you use them with arrays:
$ cat ~/bin/test.pp
$values = [this, is, an, array, of, values]
$content = template("/tmp/templates/testing.erb")
file { "/tmp/temtest": content => $content }
$ cat /tmp/templates/testing.erb
<% values.each do |val| %>
I got
2006 Jan 04
7
<% if ... -%> What is this?
I seen some RoR code that went like this:
<% if ...blah, blah... -%>
.. blah, blah
<% end -%>
What are the minus signs for in the if statement? Cannot seem to find
anything about this, and searching on "-" in this context is hard to get
anything meaningfull back.
Thanks,
- Mark
--
Posted via http://www.ruby-forum.com/.
2006 Feb 20
7
Native erb lacks -%>, where is Rails'' erb?
Native ERB in ruby, and eruby, seem to lack the -%> feature for
suppressing trailing newlines. Thus
erb -n script
gives errors. Where is Rails ERB so I can invoke it directly?
Thank you
Hugh
2006 Mar 17
1
Re: DUNDi .... Halfway and CLUSTERING
Do you mean the peristence of connecting a specific phone to a specific
server? If so, then it's relatively easy. The ldirectord has a persistence
setting that does that. If I'm misunderstanding you, then could you explain
further what you mean?
Regards,
- Brad
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On
2011 Apr 25
1
dovecot & OCFS2 Cluster
There is a bug in ocfs2 1.4 if you are using it you should be looking for
upgrading to ocfs2 1.6
I have several performance problens with ocfs2 but now i guess the problem
is the webmail client that we are using.
I have several post here about it.
I will write a new one as soon as i found the solution.
Anyway, why use lmtp over lda ?
My setup have about 5000 active acounts all in maildir.
2007 Sep 04
5
Xml templates...
I was looking in using an xml_builder template to do something like:
blee.xerb
xml.blees do
<% for blee in @blees %>
xml.blee = blee.name
<% end %>
end
It looks like the xml_builder template can''t expand the erb tag.
It this not the correct way to expand and xml template ?
Thanks !
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2010 Jul 06
2
%% in templates
Hiya,
I''ve recently updated my svn server so that it checks the syntax of
.erb files, on commit, along with .pp files. While doing this, I ran
across a small but niggling issue and wanted to see if I was just
doing something wrong or if it was a bug.
In my sudoers template file, I have a number of lines that start along
the lines of:
%sup ALL=NOPASSWD: ALL
%mon ALL=NOPASSWD: ALL
2007 Sep 29
1
templates with same name before extension are cached
Hi all,
I was just wondering if this is the intended behavior. Here is my setup:
controller
def index
respond_to do |f|
f.xml { render :xml => true }
f.html { render :layout => :none }
end
end
In my views I have a file for each type
index.herb
index.xerb
The first request I send is cached and interferes with the other one.
For example, if I send an xml request