Project

General

Profile

Revision 8c7ba4af

Added by Thomas McKay about 8 years ago

updates to csv

fixed lifecycle-env

ship it

View differences:

lib/hammer_cli_csv/puppet_reports.rb
143 143
            system_id = @api.resource(:systems).call(:create, {
144 144
                                   'name' => name,
145 145
                                   'organization_id' => line[ORGANIZATION],
146
                                   'environment_id' => katello_environment(line[ORGANIZATION], :name => line[ENVIRONMENT]),
147
                                   'content_view_id' => katello_contentview(line[ORGANIZATION], :name => line[CONTENTVIEW]),
146
                                   'environment_id' => lifecycle_environment(line[ORGANIZATION], :name => line[ENVIRONMENT]),
147
                                   'content_view_id' => lifecycle_contentview(line[ORGANIZATION], :name => line[CONTENTVIEW]),
148 148
                                   'facts' => facts(line),
149 149
                                   'installed_products' => products(line),
150 150
                                   'type' => 'system'

Also available in: Unified diff