And when you provide the RAILS_ENV you are using? For example;
 
sudo -u puppet-dashboard  rake -f /usr/share/puppet-dashboard/Rakefile 
RAILS_ENV=production  'node:list'
 
 

Op woensdag 21 november 2012 08:12:48 UTC+1 schreef Jacob het volgende:

> I don't get the expected output... (a list of my nodes)..
>
> only the deprecation warning.
>
>
>
>
>
> Il giorno martedì 20 novembre 2012 18:37:49 UTC+1, Bruno Leon ha scritto: 
>>
>>  Does it fail or only warn ?
>>
>> I can only see dprecation warnings in your message.
>>
>>  
>>
>> -- 
>>
>> Bruno
>>
>>  
>>
>> On November 19, 2012 11:36:17 PM Jacob wrote:
>>
>> Thanks :)
>>
>> Now I get
>>
>> <snip>
>>
>> # sudo -u puppet-dashboard rake -f /usr/share/puppet-dashboard/Rakefile 
>> 'node:list'
>> (in /usr/share/puppet-dashboard)
>> DEPRECATION WARNING: Rake tasks in vendor/plugins/delayed_job/tasks are 
>> deprecated. Use lib/tasks instead. (called from 
>> /usr/share/puppet-dashboard/vendor/rails/railties/lib/tasks/rails.rb:10)
>>
>> </snip>
>>
>>
>>
>> Il giorno lunedì 19 novembre 2012 19:37:43 UTC+1, Stefan Heijmans ha 
>> scritto:
>>
>> Yes, I noticed it in 1.2.13 (
>> https://groups.google.com/d/msg/puppet-users/-s07XIymxCo/Yp3DpRU4t6EJ) 
>> but not in 1.2.14.
>>
>> Fixed it by running  the mentioned 'rake gems:refresh_specs' 
>>
>>
>> Stefan
>>
>>
>>
>> On Monday, November 19, 2012 10:11:35 AM UTC+1, Jacob wrote:
>>
>> Hello all,
>>
>> I am quite new to the puppet arena, but I am really impressed with puppet 
>> as a tool and the possibilities it gives you with regards to managing many 
>> systems.
>>
>> I am running dashboard 1.2.14 and am trying to query via the rake API: 
>> http://docs.puppetlabs.com/dashboard/manual/1.2/rake_api.html
>>
>> when I do, I get the following error:
>>
>> <snip>
>>
>> # sudo -u puppet-dashboard rake -f /usr/share/puppet-dashboard/Rakefile 
>> 'node:list'
>> (in /var/log)
>> config.gem: Unpacked gem daemons-1.0.10 in vendor/gems has no 
>> specification file. Run 'rake gems:refresh_specs' to fix this.
>> config.gem: Unpacked gem rack-1.1.2 in vendor/gems has no specification 
>> file. Run 'rake gems:refresh_specs' to fix this.
>> config.gem: Unpacked gem rspec-1.3.2 in vendor/gems has no specification 
>> file. Run 'rake gems:refresh_specs' to fix this.
>> config.gem: Unpacked gem rdoc-3.6.1 in vendor/gems has no specification 
>> file. Run 'rake gems:refresh_specs' to fix this.
>> config.gem: Unpacked gem rspec-rails-1.3.4 in vendor/gems has no 
>> specification file. Run 'rake gems:refresh_specs' to fix this.
>> config.gem: Unpacked gem thoughtbot-shoulda-2.10.2 in vendor/gems has no 
>> specification file. Run 'rake gems:refresh_specs' to fix this.
>> config.gem: Unpacked gem mocha-0.9.7 in vendor/gems has no specification 
>> file. Run 'rake gems:refresh_specs' to fix this.
>> config.gem: Unpacked gem will_paginate-2.3.15 in vendor/gems has no 
>> specification file. Run 'rake gems:refresh_specs' to fix this.
>> config.gem: Unpacked gem json_pure-1.5.1 in vendor/gems has no 
>> specification file. Run 'rake gems:refresh_specs' to fix this.
>> config.gem: Unpacked gem haml-3.1.2 in vendor/gems has no specification 
>> file. Run 'rake gems:refresh_specs' to fix this.
>> config.gem: Unpacked gem sass-3.1.2 in vendor/gems has no specification 
>> file. Run 'rake gems:refresh_specs' to fix this.
>> config.gem: Unpacked gem factory_girl-1.3.3 in vendor/gems has no 
>> specification file. Run 'rake gems:refresh_specs' to fix this.
>> DEPRECATION WARNING: Rake tasks in vendor/plugins/delayed_job/tasks are 
>> deprecated. Use lib/tasks instead. (called from 
>> /usr/share/puppet-dashboard/vendor/rails/railties/lib/tasks/rails.rb:10)
>>
>>
>>
>> </snip>
>>
>>
>>
>> ...I fail to find any info on this online ... has anyone else seen this?
>>
>> Thanks,
>>
>> //Jacob.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Puppet Users" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/puppet-users/-/Q-XcVfScapMJ.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/puppet-users?hl=en.
>>
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/tg3uEymfq4UJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to