Project

General

Profile

Bug #562

rake task of import of classes and environments in batch mode does not work reliably

Added by Marcello de Sousa over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Importers
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

When running the rake task to import classes and environments in batch mode (without the prompt), you might get errors.

patch.diff patch.diff 1.35 KB Ohad Levy, 01/03/2011 02:43 PM

Related issues

Related to Foreman - Bug #1159: Class import behaviour not consistent "rake puppet:import:puppet_classes" x "UI"Closed2011-09-07

Associated revisions

Revision ed4c48b0 (diff)
Added by Ohad Levy over 8 years ago

fixes 562 - rake task of import of classes and environments in batch mode does not work reliably

History

#1 Updated by Ohad Levy over 8 years ago

#2 Updated by Marcello de Sousa over 8 years ago

Just to make sure, the command used is:

RAILS_ENV=production /usr/bin/rake puppet:import:puppet_classes[batch]

And now I get the output:

Scheduled changes to your environment
New      environments  :
Obsolete environments  : myoldenvironment..
New      puppetclasses :
Obsolete puppetclasses : myoldclass...

without the prompt.

#3 Updated by Ohad Levy over 8 years ago

  • Subject changed from Fix "lib/tasks/puppet.rake" when running "rake puppet:import:puppet_classes[batch]" to rake task of import of classes and environments in batch mode does not work reliably

#4 Updated by Ohad Levy over 8 years ago

  • Status changed from New to Ready For Testing
  • % Done changed from 0 to 100

#5 Updated by Ohad Levy over 8 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF