puppetlabs/interface-utils — Issue #9: dashboard class import fails
Author: pjelar
Created: 2011-11-25 11:23:54+00:00
State: open

Hi,

I've installed added the interface utils so I can import my puppet classes into the dashboard.

Versions:
date
Fri Nov 25 11:23:14 GMT 2011
git pull
Already up-to-date.

puppet-dashboard-1.2.3-0.1rc2.el6.noarch
puppet-server-2.7.6-2.el6.noarch
puppet-2.7.6-2.el6.noarch

Dashboard appears when running puppet help:
puppet help dashboard import_classes
USAGE: puppet dashboard import_classes [--dashboard-path PATH]

imports all classes from the current modulepath into the Dashboard

OPTIONS:
--mode MODE - The run mode to use (user, agent, or master).
--render-as FORMAT - The rendering format to use.
--verbose - Whether to log verbosely.
--debug - Whether to log debug information.
--dashboard-path PATH - base directory where dashboard path is
location

See 'puppet man dashboard' or 'man puppet-dashboard' for full help.

When I try to run an import I get the following error:
puppet dashboard import_classes --dashboard-path "/usr/share/puppet-dashboard/"
err: Unknown options passed: dashboard_path
err: Try 'puppet help dashboard import_classes' for usage

Thanks,
Pierre