Displaying 20 results from an estimated 3000 matches similar to: "Getting undefined method `-' for #<XMLRPC::DateTime:0xb7c729e8>"
2007 Jun 07
17
Puppet/webrick benchmark
We haven''t been able to use mongrel for testing yet, but in order not to
waste time, we did some performance testing with 1, 2 and 4
puppetmasterd/webrick processes.
Attached is an HTML page (ripped from our wiki - not pretty, but
reasonably readable) which describes the method and results.
If someone feels like making some nice graphs, that would be great. If
not, I''ll try to
2012 Aug 23
1
Puppet Agent VS User
Hello,
Running into a problem when wanting to daemon-ize the agent. It doesnt
seems to do anything:
- cannot find any daemon process with (ps aux | grep puppet)
- the config is not updated after editing some params on the master
- /var/log/puppet stay empty...
while, when logged as root, it is working without issue with $puppet agent
--test.
##Conf
Ubuntu 12.04
Puppet 2.7.11
## Daemon is
2007 Jun 14
19
Please test export/collect from svn
For those of you out there using export/collect (which we really need
to come up with a better name for...), can you test the current SVN
code?
I''m mostly wondering if the performance is any better. To use it,
you''ll have to remove your current database, since the database
schema is significantly changed.
I''m getting what looks like an additional 25% reduction
2010 Oct 19
14
client won't use remote file bucket
Hi all,
I''m having a stupid moment getting a remote file bucket working. My
client only file buckets locally, not remotely.
I have this site.pp:
*********
filebucket { "main": server => "puppet" }
File { backup => "main" }
node ''default'' {
include test
}
*********
and this test module:
*********
class test {
file {
2012 Jul 04
8
on puppet master server , puppet agent can't connect to itself
on my puppet master server (v 2.7.17 , both server and client version) ,
the puppet agent can''t connect to itself. other clients connected to this
puppet server are working fine.
the hostname is puppet.domain.com
[root@puppet /]# cat /etc/puppet/puppet.conf
[main]
# The Puppet log directory.
# The default value is ''$vardir/log''.
logdir = /var/log/puppet
2006 Jan 20
1
XMLRPC::DateTime from AWS
When I do an XMLRPC webservice call to retrieve a single Product, my
DateTime fields in the products table do not get converted to a valid
DateTime value, but remain as XMLRPC::DateTime structures.
So, say my webservice call is:
@product = @aws.get_product(1)
Then my @product object looks like this:
name: My product
last_updated: #<XMLRPC::DateTime:0x37c5338>
description: This is my
2013 Oct 08
4
'puppet storeconfigs export' killed
Hi,
I currently have a MySQL database containing all Puppet storeconfigs. My
intention is to migrate to PuppetDB on a PostgreSQL server, so the first
step is to use the ''storeconfigs'' face to export all the DB to a file
PuppetDB can later consume. But the ''puppet storeconfigs export'' command
always ends up being killed, I suspect due to some sort of OOM
2012 Jul 11
6
certname doesn't seem to work on the agent
Hi guys,
I have a box that needs to identify itself to the puppetmaster as something
different from the FQDN. I added certname to the agent configuration before
the first run, but it doesn''t seem to be sufficient. The certificate was
generated for the FQDN, and the host appears in the dashboard as the FQDN,
and the node name used to evaluate the manifest is also the FQDN. I would
2007 Aug 30
4
Templates and Ruby
Hi,
I am using a template to create an /etc/exports file. I have a template
that looks like this (but results in the puppetmasterd dying on the
server when the client updates):
<% nfsHomeClients.split.each do |host| -%>
/nfs <%= host %>(<%= mainshareoptions %>)
<% nfspaths.each do |path| -%>
<%= path %> <%= host %>(<%= nfsoptions %>)
<% end
2008 Apr 24
9
puppet ldap integration question
I want to deploy puppet with openldap for specific node configuration,
but only for specific nodes, every other node (not in LDAP) should
follow the ''default'' node definition.
Is it possible to mix and match like this?
As I try it I am getting err: Could not retrieve catalog: Could not find
node ''myhostname'' instead.
--
Mark Foster - Sr. Systems Engineer
2007 Jul 16
5
exec and notify
Are exec resources triggered by notify events supposed to be run once for every event
received or only run once per run irregardless of the number of resources that notified
it? It seems to me that it gets run twice no matter how many resources triggered it.
consider the following class:
class dhcp {
$prefix = "/usr/local/etc/dhcpd"
$dhcpd_conf = "$prefix/dhcpd.conf"
2011 Mar 15
1
error SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A
Hello folks,
I am getting this error on one of the clients, here''s all of the
output. It was working on this client and today it stopped working. I
cleaned the cert for this client puppetmaster by "puppetca --clean
host.domain.com" and I removed the "/var/lib/puppet/ssl" directory so
it would get new certs. But I still keep getting the same error as
below. I have other
2007 May 04
3
fileserver hanging
hello,
we just wanted to rollout our new puppetized dmz. therefore i change all
ip adresses from the test network to the live ips. after restarting
puppetmasterd it seems that the fileserver hangs:
client log:
debug: //true_base/update-check/File[/sbin/update_check.pl]/require:
requires Package[libmail-sendmail-perl]
debug: //true_base/puppetd/File[/etc/puppet/puppetd.conf]/require:
requires
2010 Sep 21
1
Configuring libvirt for one driver and XMLRPC issues
Hello,
I am trying to run ./configure --with-one --with-esx but I get the following
error:
checking pkg-config is at least version 0.9.0... yes
checking for XMLRPC... no
configure: error: You must install XMLRPC-C >= 1.14.0 to compile libvirt ONE
driver
However I have downloaded xmlrpc-c-client and built from sources version
1.16.31
root at sa251:~/libvirt-0.8.4# xmlrpc-c-config --version
2008 May 05
2
Geocoding and XMLRPC
Hello people,
I''m implementing a geocoding feature in my web app, a classic feature,
for showing registered user by location.
For this purpose, I''ve inspired myself from the following tutorial :
http://earthcode.com/blog/2006/04/rails_geocoding_and_google_map.html
However, I''m getting this error from Rails :
uninitialized constant SandboxController::XMLRPC
Being a
2006 Feb 06
1
How to pass an additional parameter from the url to a xmlrpc service?
guys,
I have a RoR App with a xmlrpc service, which attende a several clients
recently I need to change the xmlrpc service in order to provide an
additional parameter from the clients, but I don?t want to force a change in
the clients''s xmlrpc code, so is possible to pass this additional parameter
in the url? every client append his own new parameter to the url to access
the xmlrpc
2008 Aug 04
18
puppetd daemon vs. cron
Hi,
I''m running multiple vservers and have some aspects managed via puppet. I
noticed that puppetd consumes from 20 to 60 mb RAM and the longer the process
runs, the more RAM it takes. It looks like 60MB is the top what I measured.
Having a couple of vservers (11 in my case) this can already take up to 500MB
just for puppet! I''m wondering if there''s any downside in
2006 Jan 04
5
Webservice External XMLRPC
Hello i have some trouble getting my webservice to run .
I have the following webservice :
class DirectSpoolAPI < ActionWebService::API::Base
api_method :add, :expects => [{:html=>:string},{:from=>:string}],
:returns => [Customer]
end
class DirectSpoolService < ActionWebService::Base
web_service_api DirectSpoolAPI
def add(html,from)
Customer.find(:first)
end
2007 Feb 18
1
Passing XMLRPC errors on to clients
Hi,
I''m experimenting with using Mongrel to serve XMLRPC, and I''m having
trouble passing the XMLRPC errors on to the client.
In my webrick implementation, I just raise the XMLRPC error and the
client receives it and can handle it like a normal exception. With
Mongrel, when I raise the error, Mongrel catches it and just closes
the client connection, which means the
2006 Jan 08
2
How do can I use XmlRpc with my AWS?
In my tests, I want to invoke my webservice not using the default SOAP
protocol, but using XmlRpc ... how do I do that?
--
Posted via http://www.ruby-forum.com/.