Project

General

Custom queries

Profile

Actions

Feature #3368

open

Rake tasks in the import namespace shouldn't display headers for sections that don't have any content

Added by Sam Kottler over 11 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Importers
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Right now, if you add a new environment, for example, but don't delete or update any existing environments you'll still get a header for delete and update. Only sections with changes in them should get displayed. Here's an example of what it looks like now:

rake puppet:import:puppet_classes
Evaluating possible changes to your installation
Scheduled changes to your environment
New environments
Updated environments
Delete environments
demo           : Remove environment

Proceed with these modifications? <yes|no> yes
Import complete

"New environments" and "updated environments" wouldn't get displayed after this change is implemented.

No data to display

Actions

Also available in: Atom PDF