Displaying 20 results from an estimated 20000 matches similar to: "Value assigned to config.time_zone not recognized"
why doesn't "config.time_zone = 'location'" ensure Time.now gives the time back in this time zone???
2010 Feb 26
1
why doesn't "config.time_zone = 'location'" ensure Time.now gives the time back in this time zone???
Hi,
I''m after a way of ensuring all my Time work (e.g. using Time.now)
uses the time zone I define as default. To do this I''ve set the
following line in config/environment.rb:
config.time_zone = ''Brisbane''
But even after this, if I open up "./script/console" I note that
Time.now doesn''t work. That is I see:
?> Time.now
=> Thu
2012 Jun 18
1
Inventory Service on RHEL - uninitalized constant ActiveRecord
Hi,
Has anyone had success getting the Inventory Service running in RHEL 6?
My Puppet Nodes are getting the following error:
> [root@puppetnode-01 ~]# puppetd --debug --verbose --no-daemonize
> ...
> err: Could not retrieve catalog from remote server: Error 400 on SERVER:
> Could not autoload inventory_active_record: uninitialized constant
> ActiveRecord
> ...
2009 Feb 10
1
config.default_timezone vs. config.time_zone
In config/environment.rb are these statements equivalent?
config.default_timezone = :utc
config.time_zone = "UTC"
If not, then how do they differ in effect?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2012 Jan 13
1
mysql errors
I''m currently running three puppet masters (version 2.7.3 via apache
+passenger) in a cluster, 2 on CentOS 5.7, 1 on CentOS 6.1
On the 6.1 master, I am frequently getting the following error
(approximately 50% of the time when a client connects):
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: Mysql::Error: Unknown prepared statement handler (7) given to
2011 Jul 23
2
Dashboard not retrieving inventory
Hi All,
Puppet-dashboard appears to be having some trouble. Under inventory, it says:
"Could not retrieve facts from inventory service: Permission denied -
certs/dashboard.private_key.pem"
When I run:
curl -k -H "Accept: yaml" https://puppet:8140/production/facts/host.domain
I get the expected dump of facts.
Versions:
puppet-dashboard is 1.1.0 (using passenger)
puppet-master
2008 Jun 30
1
rake aborted! undefined method `time_zone=' for #
Dear
I have uploaded one project on my account on one of the servers. When
I do migrate
the database rake db:migrate
i get this error
rake aborted! undefined method `time_zone='' for #
any idea on how to solve this problem
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2013 Apr 20
1
PuppetDB / inventory service configuration problem
Hi,
I''ve just been configuring my new Puppet 3.1.1 / Dashboard setup with
Passenger to use PuppetDB for the inventory service. I configured it via
the puppetdb forge module, and it all seems to be configured correctly as
far as the docs describe.
When I look at a node in the dashboard, under the inventory section, I just
see:
Could not retrieve facts from inventory service: 404
2012 Jun 14
8
inventory service in Puppet-dashboard
Hi there,
I installed puppet-dashboard, which works just fine, and trying to activate
*inventory-services *but get this error on the agent:
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
> Please install the mysql adapter: `gem install activerecord-mysql-adapter`
> (Could not find RubyGem mysql (~> 2.8.1)
>
on the master, these are the packages I got
2012 Oct 04
4
Puppet 3.0 + Inventory search
Hello,
I am having problems with Puppet since upgrading to 3.0.0.
When I call an inventory search I get a Error 400. I have used dashboard +
Perl
Oct 4 08:58:43 puppet01 puppet-master[7008]: Handling request: GET
/production/facts_search/search?facts.lsbdistcodename.eq=lenny
Oct 4 08:58:43 puppet01 puppet-master[7008]: header too long
ii facter
2011 May 04
2
Passenger Error "during the evaluation of config/environment.rb"
I have been through all of the instructions for setting up a
PuppetMaster using Passenger. At the present time, when I access
Passenger I receive the Passenger Error page with the message "The
application has exited during startup (i.e. during the evaluation of
config/environment.rb)". I''ve looked at the log files and there is
nothing obvious.
When I run puppetmaster
2012 Jan 27
2
SSL Errors - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B
Hello, I''m new to puppet and am getting a puppet server setup with
puppet dashboard. I have the puppet server and puppet dashboard
(Apache/Passenger) setup and working well with 60+ test nodes working
as expected. Only problem is that I have this one error in the logs
which I can''t figure out.
Jan 26 17:09:41 ppt01 puppet-agent[27357]: Could not retrieve catalog
from remote
2009 Apr 17
0
A frustrating and strange error when config.action_controller.perform_caching = true
Hello all.
I am having a hell of a problem and it''s driving me nuts. I get the
following error (undefined method `controller_name'' for nil:NilClass): but
only when config.action_controller.perform_caching = true
I googled around some and found this thread
http://groups.google.com/group/communityengine/browse_thread/thread/b84154e5228bf9f3which
suggests it may be a conflict with
2008 Sep 18
0
Detect client time_zone
Hi All
How do I determine (on the server-side) for an incoming request the time
zone of the client. I''ve studied the ''request'' parameter but didn''t see
anything like a TZ.
Any suggestion how to do this ?
Cheers
LuCa
ps I need the TZ to convert Dates/Times correctly on a 2nd server (this
2nd server need the TZ!)
--
Posted via http://www.ruby-forum.com/.
2012 Dec 12
0
puppet dashbaord inventory
I have a puppet master install which uses puppetdb. I also have puppet
dashboard installed with the inventory service running. I want multiple
puppet masters using a single puppetDB server. Puppetdb is installed on
separate vm.
How can I get the dashboard inventory to use the puppetdb server to get the
inventory records? Where do I configure the dashboard inventory so it uses
puppetdb?
I
2011 Nov 11
1
time zone not getting saved in the database
Hello,
Using rails 2.3.9 and ruby 1.8.7
I am trying add time zone in the site according to user''s time zone
(selected by the user from the drop down of time zones)Code is done as
follows, but time zone is not getting saved in the database.
IN Application Controller
before_filter :set_time_zone
def set_time_zone
Time.zone = current_user.time_zone if current_user
end
IN View
2008 Apr 01
12
undefined method `time_zone=' on Rails 2.0.2.9129 on Mac OS X
I just did a gem update and it broke my rails application. I had to
go back to 2.0.2, because 2.0.2.9129 produces this error on Mac OS X
Leopard:
/Users/nicholas/RubyDev/dummy/config/environment.rb:38: undefined
method `time_zone='' for #<Rails::Configuration:0x12c9f24>
(NoMethodError)
from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/initializer.rb:47:in
`run''
from
2013 Mar 14
1
One Dashboard for Multiple Masters
I''m trying to connect multiple masters to one dashboard and I''m having
trouble with Facter. I started out initially with one master connected to
the dashboard and that one works perfectly fine. Then I added a second
master by setting the reporturl to point to the dashboard. The new nodes
appeared and it shows the run results without any problems. The issue I''m
2011 Apr 12
0
connecting dashboard to facts/inventory service.....
I''m having all sorts of trouble getting our new puppet-dashboard
install to connect/get the facts/inventory from the puppet master.
These are separate boxes, and I''m getting (testing):
root@puppetdash puppet-dashboard]# curl -k -H "Accept: yaml"
https://puppet:8140/production/facts/hero0304.rc.fas.harvard.edu
Forbidden request:
2006 Jan 30
1
Introduction & time_zone_select with mapped TimeZone question
I''m new to this list, I''m a student in History, Computerscience and a
bit of Philosophy from the Netherlands... I have started using rails a
few weeks ago, I did read the Agile Webdevelopment with Rails book, and
I generally started to love Rails for it''s sheer beauty and intelligent
structure...
However I came across something that puzzles me quite a bit. It''s
2012 Dec 12
8
puppet dashboard inventory
I have a puppet master install which uses puppetdb. I also have puppet
dashboard installed with the inventory service running. I want multiple
puppet masters using a single puppetDB server. Puppetdb is installed on
separate vm.
How can I get the dashboard inventory to use the puppetdb server to get the
inventory records? Where do I configure the dashboard inventory so it uses
puppetdb?
I