Hello,

Does anyone have a good spec file for puppet dashboard 1.1.0, as the
one supplied in the sourcecode is for 1.0.4
and tries to copy some directories, that don't exist anymore.

I did some remodelling in the file, so it creates a rpm now, but I'm
not sure whether my "fix"  is the only change needed.

 my change:

replace
--------------------
for plugin in authlogic inherited_resources jrails object_daddy
resources_controller timeline_fu will_paginate; do
   cp -p -r vendor/plugins/$plugin %{buildroot}%{_datadir}/%{name}/
vendor/plugins/$plugin
done

cp -p -r vendor/gems %{buildroot}%{_datadir}/%{name}/vendor
cp -p -r vendor/rails %{buildroot}%{_datadir}/%{name}/vendor
--------------------

with
--------------------
cp -p -r vendor/* %{buildroot}%{_datadir}/%{name}/vendor
--------------------

as that seems to be the result of the whole exercise before

Reason for asking, is the fact, that I now have a rpm, but it doesn't
seem fully functional
The webpage works, but the interface with puppet doesn't.
The program "external_node" doesn't seem to function; I keep getting:

/usr/lib/ruby/1.8/net/http.rb:560:in `initialize': getaddrinfo: Name
or service not known (SocketError)
        from /usr/lib/ruby/1.8/net/http.rb:560:in `open'
        from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'
        from /usr/lib/ruby/1.8/timeout.rb:48:in `timeout'
        from /usr/lib/ruby/1.8/timeout.rb:76:in `timeout'
        from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'
        from /usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
        from /usr/lib/ruby/1.8/net/http.rb:542:in `start'
        from /usr/share/puppet-dashboard/bin/external_node:42

It could also mean, I misconfigured something, but so far I haven't
found out if or what I misconfigured.

grtz

John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to