Displaying 11 results from an estimated 11 matches for "railslog".
2013 May 07
7
puppet node clean using SQLite instead of PuppetDB
...sing settings: adding file resource ''rest_authconfig'': ''File[/etc/puppet/auth.conf]{:loglevel=>:debug, :links=>:follow, :ensure=>:file, :backup=>false, :path=>"/etc/puppet/auth.conf"}''
Debug: Using settings: adding file resource ''railslog'': ''File[/var/log/puppet/rails.log]{:group=>"puppet", :loglevel=>:debug, :links=>:follow, :owner=>"puppet", :mode=>"600", :ensure=>:file, :backup=>false, :path=>"/var/log/puppet/rails.log"}''
Debug: Using setti...
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 log...
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
...lugindest = /var//opt/csw/puppet/lib
factsource = puppet://mypuppet.example.net/facts
rundir = /var//opt/csw/puppet/run
genconfig = true
pluginsource = puppet://mypuppet.example.net/plugins
factpath = /var//opt/csw/puppet/facts
libdir = /var//opt/csw/puppet/lib
statedir = /var//opt/csw/puppet/state
railslog = /var//opt/csw/puppet/log/rails.log
dblocation = /var//opt/csw/puppet/state/clientconfigs.sqlite3
runinterval = 60
localconfig = /var//opt/csw/puppet/state/localconfig
puppetdlog = /var//opt/csw/puppet/log/puppetd.log
ca_server = mypuppet.example.net
statefile = /var//opt/csw/puppet/state/state.ya...
2012 Aug 23
1
Puppet Agent VS User
...ssl/private
privatekeydir = /var/lib/puppet/ssl/private_keys
publickeydir = /var/lib/puppet/ssl/public_keys
puppetdlockfile = /var/lib/puppet/state/puppetdlock
puppetdlog = /var/log/puppet/puppetd.log
puppetport = 8139
queue_source = stomp://localhost:61613/
queue_type = stomp
rails_loglevel = info
railslog = /var/log/puppet/rails.log
report = true
report_port = 8140
report_server = puppet
reportdir = /var/lib/puppet/reports
reportfrom = report@vusion-production.
reports = store
reportserver = puppet
reporturl = http://localhost:3000/reports/upload
req_bits = 2048
requestdir = /var/lib/puppet/ssl/cert...
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
...pet/reports]{:path=>"/var/lib/puppet/reports",
:mode=>"750", :owner=>"puppet", :group=>"puppet", :ensure=>:directory,
:loglevel=>:debug, :links=>:follow, :backup=>false}''
Debug: Using settings: adding file resource ''railslog'':
''File[/var/log/puppet/rails.log]{:path=>"/var/log/puppet/rails.log",
:mode=>"600", :owner=>"puppet", :group=>"puppet", :ensure=>:file,
:loglevel=>:debug, :links=>:follow, :backup=>false}''
Debug: /File[/v...
2007 Nov 11
4
puppetrun fails: "Certificates were not trusted"
...uppetd: Setting listen to ''false''
debug: puppetd: Setting usecacheonfailure to ''true''
debug: puppetd: Setting puppetdlockfile to ''$statedir/puppetdlock''
debug: puppetd: Setting configtimeout to ''30''
debug: puppetmaster: Setting railslog to ''$logdir/rails.log''
debug: certificates: Setting hostprivkey to ''$privatekeydir/puppet1.abc.net.pem''
debug: certificates: Setting publickeydir to ''$ssldir/public_keys''
debug: certificates: Setting privatekeydir to ''$ssldir/private_ke...
2009 Oct 21
2
Bug #2617(?) in Puppet 0.25.1rc2
...masterd --mkusersĀ»
5. On server I create meaningless /etc/manifest/site.pp (the contents
are not important)
6. I put the same options for both server and client. They don''t
differ from the generated defaults only in --genconfig = false, but
here are they:
[main]
genconfig = false
railslog = /var/puppet/log/rails.log
dblocation = /var/puppet/state/clientconfigs.sqlite3
cert_inventory = /etc/puppet/ssl/ca/inventory.txt
cakey = /etc/puppet/ssl/ca/ca_key.pem
caprivatedir = /etc/puppet/ssl/ca/private
capass = /etc/puppet/ssl/ca/private/ca.pass
cadir = /etc/puppet/...
2011 Nov 04
1
Storeconfigs and nagios and foreman
...= localhost
# The database password for caching. Only
# used when networked databases are used.
# The default value is ''puppet''.
dbpassword = password
# Where Rails-specific logs are sent
# The default value is ''$logdir/rails.log''.
railslog = /var/lib/puppet/log/rails.log
# Whether to only use the cached catalog rather than compiling a
new catalog
# on every run. Puppet can be run with this enabled by default
and then selectively
# disabled when a recompile is desired.
# use_cached_catalog = false
# Where puppet...
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