Displaying 20 results from an estimated 361 matches for "garstang".
2011 Aug 08
12
Hash Interpolation inside double quotes?
I''ve got this:
file {
''/opt/sugarsync/tomcat/tomcat-home/current'':
ensure => "tomcat-$config[''tomcat_version_server'']";
where $config[''tomcat_version_server''] was set with extlookup (the yaml
one), by loading:
---
tomcat_config:
tomcat_version_server: 6.0.20-1
tomcat_version_libs: 1.0-1
2011 Nov 19
11
Installing Oracle
This is pretty ugly.
I''m using puppet to install Oracle, ie an exec{} wrapped around:
/u01/oracle_extract/linux.x64_11gR2_database/database/runInstaller
-silent -responseFile /etc/oracle_response.rsp
The problem is that the damn installer backgrounds itself and returns
control to the shell. I tried putting the above command in a script,
followed by a wait command, but that
2010 Jun 27
6
Borked Client Cert in 0.25
Here we go with puppet 0.25 certificate problems again.
I had a system where puppet was running fine. I reinstalled it.
Running puppet on the client causes this:
"Could not request certificate: Retrieved certificate does not match
private key; please remove certificate from server and regenerate it
with the current key".
Fine... so I run ''puppetca --clean
2011 May 09
4
Managing Switches.
All,
I was looking at the new feature of puppet to manage switches, and it says:
"A current limitation is that it isn’t possible to have 2 switches with the
same interface name"
Does this mean that if one switch has an interface called FastEthernet 0/1,
that puppet can''t manage a second switch with an interface called
FastEthernet 0/1? If so, that probably means you can
2011 Mar 31
5
puppetca and /etc/puppet/ssl
All,
I have --confdir=/etc/puppet/common in my /etc/init.d/puppetmaster and
/etc/init.d/puppet files, vardir set to /var/lib/puppet in
/etc/puppet/common/puppet.conf, and yet, every time I run puppetca it
creates /etc/puppet/ssl. Anyone know why?
Doug.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email
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
2012 Aug 27
5
Append string to list items.
I have an array:
$nodes = [''gfs01'' ,''gfs02'', ''gfs03'', ''gfs04]
and a string variable:
$brick_store = "/var/bricks"
How can I append "/var/bricks" to each item in the array? Lack of a
looping construct makes this challenging in puppet.
Such that:
brick_array = [''gfs01:/var/bricks'',
2012 Aug 29
9
puppetlabs-stdlib
I''m confused about this...
https://github.com/puppetlabs/puppetlabs-stdlib/
I see a lot of functions there that are the same as the ones that come
standard with puppet. If I create a module and dump this stuff in
there, what happens to the existing stuff? How does puppet know which
one to use?
Doug
--
You received this message because you are subscribed to the Google Groups
2012 Aug 17
8
Class Naming Convention
So, this has always puzzled me a bit. By convention, init.pp contains
one class, named the same as the module. However, what is the
convention when the module may have multiple external access points?
Say you have a module called ''syslog'' which provides both a client and
a server class. I typically have used syslog::server and
syslog::client. I''ve ended up using this
2010 Aug 20
6
Debugging errors with external nodes
How do I debug errors with external nodes? When my client connects,
the following appears on the puppetmaster when running in debug mode.
It''s not feasible to always be running the pupeptmaster in debug mode.
debug: importing ''/etc/puppet/modules/yum/manifests/client.pp'' in
environment production
info: Automatically imported yum::client from yum/client into production
2006 Jun 05
9
IAX Passing Variables
Well, this kinda sux.
We have three Asterisk servers. Phones register to a single, primary server.
When a phone on one wants to reach a phone on another, we use DUNDi to discover the destination pbx and IAX to transfer the call to the other Asterisk box. This seems to be a fairly common practice amongst Asterisk users, yes?
Well, what about setting variables before call placement? Say you want
2006 Oct 10
10
Voicemail Press '0'
Crikey. I can't get this to work!
Allegedly, you can press 0 while in the voicemail greeting and be dropped to the 'o' extension. For some reason, I can't get it to work. The 'docs' aren't clear about what context the o extension should be in. The voip wiki says
"the context for the voicemail box that we're looking for in the dialplan for the jump to the
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
2006 Dec 08
1
Douglas Garstang <dgarstang@oneeighty.com>
On Fri, 2006-12-08 at 04:26 -0700, Douglas Garstang wrote:
> Hi Steve.
>
> Thanks, but unfortunately, I can't be involved in that. We are
> running Asterisk in a production environment and we're using
> 1.2, not 1.4. I don't have the resources to work with 1.4.
> Last tim...
2012 Aug 17
4
Default node
Seems like nodes are matching the default node before they are
matching the more specific nodes. My site.pp has:
include "nodes/*.pp"
In the nodes directory are two files, default.pp and nagios_server.pp.
default.pp:
node default {
include role::common
}
nagios_server.pp:
node ''mon01.us1.xxx.com'' {
$node_env = "production"
include
2010 Sep 28
13
Reading Puppet reports with Python
Has anyone got/seen Python code to read puppet reports?
I added a bunch of these:
class PuppetReport(yaml.YAMLObject):
yaml_tag = u''!ruby/object:Puppet::Transaction::Report''
def __init__(self, host, logs, metrics, records, time):
self.host = host
self.logs = logs
self.metrics = metrics
self.records = records
self.time = time
However, the Python YAML
2005 Feb 08
12
SRV lookups
Hi everyone,
I have a question concerning DNS SRV lookups. The situation is like this:
- one central Asterisk server
- many domains with SRV records, let's say we have bar.com and doe.com
Now the question is: if the SRV lookup is done for foo@bar.com the call is
mapped to foo@myasterisk.mydomain.net. Is that correct?
If so, I have a problem: if somebody calls foo@bar.com, Asterisk
2012 Aug 14
8
Custom Providers and Environmemts.
I''ve installed the puppet labs lvm module. After fixing the missing
"}" at line 20 in init.pp (really?!?!), I''m getting this:''
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError:
Invalid resource type physical_volume at
/truth/sauce/env/prod/modules/role/manifests/common.pp:43
2009 Dec 13
13
Inherited Client and Server Apps
So, I''ve been doing something like this for applications that have a
client and server component...
node base_node {
include syslog_ng::client
}}
node app_node inherits base_node {
}
node syslog_server inherits base_node {
include syslog_ng::server
}
... because I want the client portion, syslog-ng in this case to be
installed on everything. However, the server node also has a
2006 Jun 16
17
Voicemail with NFS
I have /var/spool/asterisk/voicemail NFS mounted from another server. Everything is fine, until I simulate an NFS server failure, by shutting down the NFS server process.
At this point, Asterisk becomes almost non-responsive. It won't even process a 'sip show peers' command correctly. It displays a few lines of text, pauses for several seconds, and then displays the rest. When a call