Displaying 11 results from an estimated 11 matches for "railslogging".
2013 May 07
7
puppet node clean using SQLite instead of PuppetDB
I have a node that has some bad stored configs (namely the wrong ssh host keys) that I''m trying to clear out. Looking around it seems I''m supposed to do:
puppet node clean foo.example.com
However, that keeps bailing out because it''s trying to open a SQLite3 db where stored configs are normally kept, but my stored configs are kept in puppetdb (http://pastie.org/7814483
2006 May 21
0
Re: log4r and rails
...log4r in rails follows a very similar
approach to using the built in logger.
Install the log4r gem
gem install log4r
Then edit your environment.rb file to use the gem and setup the logger
require "rubygems"
require "log4r"
#Setup Log4r Logging
L4R = Log4r::Logger.new("RailsLogging")
Log4r::FileOutputter.new(''logfile'',
:filename=>"#{RAILS_ROOT}/log/log4r.log",
:trunc=>false,
:level=>Log4r::DEBUG)
L4R.add(''logfile'')
Once you have the logger...
2007 Dec 22
8
puppet with postgresql adapter
Hi all,
i'' m trying to configure puppet to use rails with postgresql. I'' m having
troubles to make it work. Got no error when running puppetmasterd but
nothing is being populated in the DB. Is anybody using puppet with postgres
?
my config (in puppet.conf)
[rails]
dbadapter = postgresql
dbname = mydb
dbserver = localhost
dbuser = user
dbpassword = password
2009 Jun 10
10
puppet client looking for server puppet
In my puppet client I have
puppet.conf defined puppet server as mypuppet
server = mypuppet.example.net
Not sure why the puppet client puppet-test is still sending these
noises to the syslog
Jun 10 13:36:23 puppet-test puppetd[10863]: [ID 702911 daemon.error]
Could not find server : getaddrinfo: node name or service name not
known
Jun 10 13:36:23 puppet-test puppetd[10863]: [ID 702911
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
2010 Aug 02
1
wrong facts going into storeconfigs, 0.25+2.6
I''m re-posting this because I''m not sure that it got through the first
time. If someone could at least echo back that this is reaching the
list, I''d appreciate it. (I''m new to the list.)
Sometimes (with variable frequency) storeconfigs stores the wrong data
in the fact_values table. This has the end result that exported
resources, when collected, have
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
2007 Nov 11
4
puppetrun fails: "Certificates were not trusted"
Hello all,
I''ve tried to run ''puppetrun'', but there seems something unconfigured regarding the certificates. The reverse way (puppetd pulls the config from puppetmasterd) works fine.
The namespaceauth.conf on the client (where puppetd runs) is configured as follows:
[puppetrunner]
allow *.abc.net
(also tried the calling host: puppet1.abc.net)
But when I call
2009 Oct 21
2
Bug #2617(?) in Puppet 0.25.1rc2
When I use the latest puppet 0.25.1 I got the same problem. This is
what I do:
0. Install the Ubuntu 8.04 server with ssh, ruby, rdoc, libopenssl-
ruby and git-core (which gets removed after clone).
1. Install the latest puppet from git repositories on both machines
using git clone «git clone git://github.com/reductivelabs/puppet» and
«git clone git://github.com/reductivelabs/facter»
2. Install it
2011 Nov 04
1
Storeconfigs and nagios and foreman
All-
Poking around in the bug database it looks like storeconfigs is being
actively worked on. I am using 2.7.6 on my master as well as all the
clients. I have clients boot , start puppet and get a signed cert via
auto signing. The nagios module (and currently the only thing puppet
does) complains a lot during compile time about not having
storeconfigs enabled, which is not the case in my
2013 Mar 11
12
Error: stack level too deep
I''m running a previously working set of modules with the Puppet master
version 3.1.0-rc2.
I''m getting the Error: stack level too deep
Here is a chunk of the debug
Debug: Scope(Class[Zabbix]): Retrieving template zabbix/zabbix.conf.php.erb
Debug:
template[/etc/puppet/environments/production/modules/zabbix/templates/zabbix.conf.php.erb]:
Bound template variables for