Project

General

Profile

Actions

Bug #26910

closed

foreman-rake puppet:import:puppet_classes problem

Added by Sergey Smirnov over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Rake tasks
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

For example:
foreman-rake puppet:import:puppet_classes[true,master]
From: /usr/share/foreman/lib/tasks/puppet.rake @ line 89 :

84:           end
85: exit 1
86: end
87:
88: require "pry"
=> 89: binding.pry
90:
91: puts "Changes: #{changes}"
92: if changes["new"].empty? && changes["obsolete"].empty?
93: puts "No changes detected" unless args.batch
94: puts "debug"

Changes: {"new"=>{}, "obsolete"=>{}, "updated"=>{<any_data>}, "ignored"=>{}}

require change line 92: add changes["updated"].empty?
We are have problem with import new class parameters from puppet manifests, without this fix.

Actions

Also available in: Atom PDF