Displaying 20 results from an estimated 2000 matches similar to: "Yet more variable scoping pain."
2006 Apr 08
3
[Tip] Application Wide Context Howto
Friends-
I see more and more folks wanting an application wide context object
that will work regardless of server software(webrick,mongrel, fcgi''s,
scgi''s) This can be a very useful technique if done correctly. Here
is a little info that I have gleaned on a great way to do this type
of thing.
-----Easy AppServer----------------
An easy way to get yourself an
2013 Mar 20
2
How to make sure my common module executes before all other ones
I am running puppet 3.1.1 and have a site.pp which roughly looks like this
site.pp:
node basenode {
include common
}
node ''server1'' inherits basenode {
include role::appserver
}
node ''server2'' inherits basenode {
include role::webserver
}
And my common module includes lots of different types of classes for
creating base directories, adding in
2010 Oct 29
14
require service started at another node
Hello,
Anybody now how make with puppet dependence on other service on
another node?
like : require => Service[dbnode:postgresql]
I need ensure that the db is running on another node before start my
appserver.
Thank you.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to
2012 Jul 09
2
layout question
I''m in the process of refactoring some code and getting it ready for 3.0 in
the process.
I''m trying to better modularize things as well.
I''ve got a general tomcat module, but I also have a number of tomcat
related things that only apply to one class of appserver we have.
What would be the best way of handling these?
Should I create a module, say, teamname_tomcat
2013 Mar 06
22
Windows Remote Desktop Services (Could not find a suitable provider for dism)
Hello all
Was wondering if someone could help or advise where i''m going wrong
i''m trying to install Windows 2008 R2 Remote Desktop Services via Puppet
using either DISM or Powershell modules from the forge and getting the same
error
When using DISM
class roles::trm::remote_desktop_services {
dism { ''AppServer'':
ensure => present,
}
dism {
2012 May 26
1
I can't logon to the mail server using an NIS user account
Below is my configuration
# 2.0.13: /etc/dovecot/dovecot.conf
# OS: Linux 3.0.0-17-server x86_64 Ubuntu 11.10
auth_mechanisms = plain login
mail_location = maildir:/nfs/users/%u/Maildir
passdb {
args = scheme=CRYPT username_format=%u /etc/dovecot/users
driver = passwd-file
}
protocols = " imap pop3"
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
2004 May 18
1
error in rsync protocol data stream
I am doing this to rsync a file:
rsync -avz
/usr/local/websphere/appserver/hosts/default_host/jsp/servers/includes/file1
.txt backup.domain.com:jspfsp >> /var/log/rsync_backup.log
I get these error:
@ERROR: chroot failed
rsync: connection unexpectedly closed (34 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)
I am rsyncing several folders
2007 Sep 13
5
Apache mod_proxy_balancer hang on high traffic hour
more info
just 1 server
webserver + appserver + dbserver
On 9/14/07, Yan Meng <dreamwords at gmail.com> wrote:
>
> Hi, Guys
>
> Our team is running a web2.0 finance site in China
>
> http://www.caibangzi.com/
>
> We use APACHE + mod_proxy_balancer + mongrel to deploy our application, it
> workd super in the past few monthes.
>
> However, just from last
2011 Nov 16
4
not using LVM for Linux VM guests?
I came across an old post comment yesterday (from http://echenh.blogspot.com/2010/04/how-to-extend-lvm-on-vmware-guest-os.html ) discussing the "hack" of LVM on Linux VM guests and whether it's better not to use it to simplify disk management.
I've re-posted the comment below, does it sound reasonable? Is it better to not use LVM on Linux VM guests?
--Russell
2007 Nov 15
4
Using .find_by_sql for database/admin queries
I want to create an internal admin view to display the output of "show
variables" from mysql. What''s the best approach do this?
For example, I''m doing something like this:
@variables = ActiveRecord::Base.find_by_sql "show variables;"
Then, I get stuff like this back (227 elements in @variables) in
script/console:
>> @variables[0]
=>
2013 Apr 12
5
How to setup /etc/resolv.conf dependent on network
Hello,
I am a beginner in puppet so please excuse my lack of knowledge.
(I use puppet 3.1).
We have nodes in different networks - they use different DNS servers.
I''d like to set up its /etc/resolv.conf dependent on network they are in.
What approach would you recommend to solve the problem ?
Thanks in advance
Przemek
--
You received this message because you are subscribed to the
2005 Apr 21
1
BDC not working in a full-samba-env
Dear List,
I am trying to set up a BDC in a full-samba environment,
without full success.
I followed the howtos about this topic with the following
settings:
BDC:
----
[global]
workgroup = KERNZEIT
netbios name = APPSERVER
security = user
server string = %h (Samba %v)
announce version=5.0
#LDAP STUFF
passdb backend =
2006 Apr 11
4
Managing "application scope" data - best practices
All,
I have some data that I need to be able to see across the application.
For J2EE people out there, I need something that I want to have
available in the "application scope" of my app.
What is the best way to handle this?
I''m trying to access a class variable that I created in my controller
from my view (to no avail).
Create a class variable in my helper class and use
2009 Nov 10
23
Puppet Not Running chkconfig correctly.
So, I noticed that when adding a service to puppet, puppet is running
a chkconfig <service>. However, as far as I can tell, puppet should be
running a chkconfig --add <service>, otherwise the symlinks don''t get
created from the service in /etc/rc.d/rc6.d back to the service in
/etc/init.d. As as a result, the service is not stopped on shut down.
I must be missing something
2007 Feb 07
3
Diagnosing poor call quality
Greetings list,
We have an issue with call quality at 2 sites where the users (4 Elmeg
IP290s at one site, 2 SPA942s at the other) do not have an asterisk box
on-site. Each site has an 8mb down/448k up ADSL connection and the phones
connect via SIP to an asterisk box in a datacentre using g729.
The asterisk box in the datacentre connects to our other asterisk boxes
providing pstn connectivity
2010 Jul 22
9
First Foray into Parameterized Classes.... not so good
I have this:
class foo::foobar ($version) {
}
which is called like this:
class facility::sanjose inherits facility::common {
class { foo::foobar: version => "1.3.13" }
}
puppet complains with this on the client:
Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not find parent resource type ''facility::sanjose'' of type
hostclass in
2012 Dec 27
4
Where is timezone string stored?
I am having problems with RoundCube:
'Your session is invalid or expired'
So I went looking for logs and in /var/log/roundcube/errors I find LOTS
of warnings about problems with my timezone. Kind of a challenge to
copy the log entries over here (will do if needed).
Anyway, for right now I am looking as to where my 'Detroit
American/New_York' (what I am seeing in Gnomes
2011 Mar 25
3
Is it possible to use Samba as a proxy and cache for a slow CIFS drive ?
Hi all,
we have special scenario with a slow file share where Samba (maybe combined with other tools) could help by acting like as a CIFS proxy and caching system:
We're testing an Alfresco ECM System which has a CIFS subsystem (based on jLAN) that is simply to slow for our needs. In this setup the appserver Alfresco (SUSE on vmwars ESXi) and the clients are on a local LAN with Gb Ethernet
2018 Mar 20
3
Tinc deployments in the USA
Are there any Tinc deployments in the USA in Medium sized businesses and
small Enterprises?
Use case is to provide site-to-site VPN functionality.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20180320/1e41904a/attachment.html>
2005 Jan 06
1
Administrator->root mapping not working on 3.0.10 (3.0.7 fine)
We are using samba 3 on NetBSD with security=domain authenticating against
Windows 2003. We have a username map of "root = administrator". In all
previous versions of samba tested (2.2.x and 3.0.x), this means when we
log on as administrator, we have root access and see the root share. With
3.0.10, we are continually prompted for a password.
Log from 3.0.7 below:
[2005/01/06 14:25:58,