Displaying 20 results from an estimated 500 matches similar to: "Something wrong after upgraded to puppet-dashboard 1.04"
2013 Mar 07
2
Puppet Dashboard changed reports view error
Hello Puppet Users !
We encounter a problem with the dashboard on this URI : /reports/changed
The /reports works fine with ~130000 reports (up to 3 months and
auto-cleaning with rake reports:prune job)
I make a reports:prune:orphaned, juste in case, but without any success.
The most recent change on the server was the puppetmaster upgrade from
3.0.2 to 3.1.0.
Here is the dashboard error log
2007 May 30
2
ActionView::TemplateError
Hi,
I have a strange problem that only occurs on the production server.
I''ve been banging my head for hours trying to figure it out with no
success. Below is a copy of the error from the production log.
ActionView::TemplateError (Expected /www/rails_apps/scanlan/current/
public/../config/../app/models/image.rb to define Image) on line #6 of
app/views/admin/design/_record.rhtml:
3:
2010 Jul 19
16
Strange Error undefined method `show' for # see no way to debug, suggestions?
I changed fairly much in my app without constant testing ( my bad )
now i get an error which I cannot seem to debug point my finger on.
I have a home controller which just displays a welcome page this had a
index only action.
Whatever controller I try to open i always get above error message
ActionView::TemplateError (undefined method `show'' for
2010 Nov 16
15
acts_as_taggable, undefined method 'empty?'
I''ve tried out ''acts_as_taggable'', ''acts_as_taggable_on'' and
''acts_as_taggable_on_steroids'' and all of them output "undefined
method ''empty?''" with the tag_cloud action.
I am following the guides precisely. Yet I can find no references to
this error anywhere, so I must be doing something wrong...
I am on
2010 Jan 21
0
Puppet Dashboard stuff
I''ve created a number of rake tasks for managing the Puppet dashboard. I
don''t know if anyone would find them useful or not, so I haven''t
submitted a pull request or opened feature requests on them or anything.
You can:
- add a node [rake node:add]
- edit a node''s classes or groups [rake node:classes / rake node:groups]
- list nodes (all or regex-based)
2012 Oct 05
1
Puppet Dashboard inventory search problems.
I''m using Dashboard 1.2.10 on an Ubuntu 10.04 LTS system, and Puppet 2.7.19
When I do an inventory search, I get a blank screen.
In the logs, I found the following:
Processing NodesController#search (for X.X.X.X at 2012-10-05 08:44:57) [GET]
Parameters: {"action"=>"search", "controller"=>"nodes",
2012 Mar 19
3
Use netgroups as classes
Hi,
In my puppet configuration, to deploy certain files to group of nodes,
everytime either a new class of node is being used or the node class has to
typically extended to many other machines and is likely more typing. The
more typing can generally result in anomalies/errors in hosts.
For example:
node x1.y.z x2.y.z x3.y.z x4.y.z{
...
...
}
What I am trying to formulate this into is use
2008 Jul 21
6
form_for and select ( => f.select)
Hi All
I''m trying to combine the from_for and select helpers
Right now I have
form_for :service, :url => ...... do |f|
select("abc", "xyz_id", @my_arr.collect {|item| [ item, "bla" ] },
{:prompt => "opt1"} )
....
end
What I want to do is something like
....
f.select("abc", "xyz_id", @my_arr.collect {|item|
2011 Jun 08
4
Cannot modify SafeBuffer in place
Upgraded from rails 3.0.7.rc1 to 3.0.8 today and ran into a problem when
rendering haml:
TypeError in Pages#home
Cannot modify SafeBuffer in place
Full Trace:
activesupport (3.0.8) lib/active_support/core_ext/string/output_safety.rb:122:in `gsub!''
haml (3.1.1) lib/haml/compiler.rb:382:in `block in build_attributes''
haml (3.1.1) lib/haml/compiler.rb:358:in `each''
haml
2007 Jul 06
3
stubbing helper methods for View specs
Hi there
I have several view specs, that include the following snippet in
their "before" block to stub the methods by acts_as_authenticated
before :each do
@u = mock_model(User)
@u.should_receive(:name).and_return("Hans Muster")
template.should_receive(:logged_in?).and_return(true)
template.should_receive(:current_user).and_return(@u)
end
this
2012 Jan 15
2
DEPRECATION WARNING: Passing a template handler in the template name is deprecated. (rspec + haml)
I upgraded a small project that I had created on 3.1.3 to 3.2.0.rc2.
Running rspec on it brings about a large amount of these messages:
DEPRECATION WARNING: Passing a template handler in the template name is
deprecated. You can simply remove the handler name or pass render :handlers
=> [:haml] instead. (called from block (2 levels) in <top (required)> at
2007 Nov 20
3
How to test views with Nested Resources and Partials
Hi everyone,
I am relatively new to rspec and I am running into a wall in testing my
views. I have a RESTful resource Contracts with a nested resource of
Line_items.
I am trying to figure out how to test the "edit" form of the Line_items.
What complicates this is the nested routing and how to account for it,
and that there is a partial form (_form.haml) that both the edit.haml
and
2006 Mar 16
0
Re: Can dtrace agent of JDK be used in IBM Websphere?
Hi, Yufei:
Thanks for your kind action.
Let me centralize all the harm-hearted guys and involved alias in one email.
Below is the answer of your question (Can you reply with more details on
what failed? Does websphere use an IBM or Sun developed SDK? )
1. Seems IBM bundled JDK can not detect agent options, like below:
If use Sun JDK 1.5, no problem:
/usr/jdk/jdk1.5.0_06/bin/java
2008 Jul 05
0
Undefined Method Angst After Rails / Ruby / Gem Updates
I have what appears to be a problem accessing methods from within an
application. I can access them from irb, but not from within the
app. In other words:
irb(main):001:0> require ''rubygems''
=> true
irb(main):002:0> require ''haml''
=> true
irb(main):003:0> Haml.respond_to?(''init_rails'')
=> true
2010 Aug 19
0
Camping 2.1 - ERB, Haml, 1.9, bug fixes, new website!
{}
||
||
~~~~~~~~~~~~~~~ <= _whycake
~ Camping 2.1 ~
~~~~~~~~~~~~~~~
I''m pleased to announce another release of Camping, the microframework. This
time we''ve focused on improving the 1.9 support, adding (builtin) support for
more template engines, refreshing the homepage and just general bug fixes.
gem install camping
Home:
2011 Oct 29
2
comments on HAML ?
I have been asked a couple of times at job interviews if I am
familiar with HAML or Liquid so I was wondering if maybe I should
start using them and perhaps it would make the views easier to work
with.
If I install HAML on a machine where my app is that has alot of
regular HTML in the .erb views already, will it still work with those
or do I need to convert everything to HAML ? Can I have some
2009 Apr 14
6
About haml and ruby on rail
hi all,
I am converting my view into HAML format i have done it with
"Html2Haml" command, then I removed all the "- end" from haml code and
my indentation is also correct,but now it shows following errors
I have kept code of show.html.erb and show.html.haml in attachment.
please help me I am not getting what exactly the error is?
compile error
2009 Jul 30
0
How to print data with out rendring page?
Hi all,
I have following code in haml form that print current webpage
I call this page from another page like user profile page like
=link_to ''Print'', print_user_path(@user)
this calls "print.html.haml"
print.html.haml
------------------------------
%script
print();
=ALL DATA TO PRINT
--------------------------------------
PROBLEM IS THAT : I want to print
2019 Sep 17
0
[centos/centos.org] branch master updated: Correct download links for ISO images for 7.7.1810 release
This is an automated email from the git hooks/post-receive script.
unknown user pushed a commit to branch master
in repository centos/centos.org.
The following commit(s) were added to refs/heads/master by this push:
new 2459e4e Correct download links for ISO images for 7.7.1810 release
2459e4e is described below
commit 2459e4eb8ac630e01bd0cffce3c14c4cac557a3e
Author: Fabian Arrotin
2019 Dec 23
0
[centos/centos.org] branch master updated: Switched Stream new iso name for download link
This is an automated email from the git hooks/post-receive script.
arrfab pushed a commit to branch master
in repository centos/centos.org.
The following commit(s) were added to refs/heads/master by this push:
new 6be1cab Switched Stream new iso name for download link
6be1cab is described below
commit 6be1cab92db44a9ca1096f57d32b118eeb156922
Author: Fabian Arrotin <arrfab at