Bug 1126063 - import config-file needs to accept puppet-interview-answers from a config-file
Summary: import config-file needs to accept puppet-interview-answers from a config-file
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Transitions
Version: 6.0.4
Hardware: Unspecified
OS: Unspecified
medium vote
Target Milestone: Unspecified
Assignee: Grant Gainey
QA Contact: Lukas Pramuk
Depends On:
Blocks: stargate-GA-tracker
TreeView+ depends on / blocked
Reported: 2014-08-01 18:01 UTC by Grant Gainey
Modified: 2019-09-26 14:45 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-09-11 12:29:47 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Grant Gainey 2014-08-01 18:01:43 UTC
Currently import config-file answers the 'puppet module generate' interview-questions with hardcoded strings.

The interview is:

~ $ puppet module generate foo-bar
We need to create a metadata.json file for this module.  Please answer the
following questions; if the question is not applicable to this module, feel free
to leave it blank.

Puppet uses Semantic Versioning (semver.org) to version modules.
What version is this module?  [0.1.0]

Who wrote this module?  [foo]

What license does this module code fall under?  [Apache 2.0]

How would you describe this module in a single sentence?

Where is this module's source code repository?

Where can others go to learn more about this module?

Where can others go to file issues about this module?

'version', 'author', 'license', 'descr', 'srcrepo', 'learnmore', 'fileissues'

Default (shipped) values should be

1.0.0, 'hammer import config-file --csv-file=path-to-export.csv', 'Module created from soeorg-soeconfig_rhel5_dev', '', '', ''

The user is going to need to decide what the srcrepo/learnmore/fileissues URLs are supposed to be.

config-file ships as /etc/hammer/cli.import.d/puppet_interview_answers.yml, command takes --answers-file= param if you want to point at your own.

Comment 1 RHEL Program Management 2014-08-01 18:03:41 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Grant Gainey 2014-08-01 19:18:49 UTC
commit a34240180b41572dde50175aa1d2ac2484489c98

Comment 5 Tazim Kolhar 2014-09-03 07:27:45 UTC

config-file did not ship as /etc/hammer/cli.import.d/puppet_interview_answers.yml

# cd /etc/hammer/cli.import.d
-bash: cd: /etc/hammer/cli.import.d: No such file or directory

Comment 6 Tazim Kolhar 2014-09-03 09:06:00 UTC
shifting this BZ to ON_QA as mentioned in the email

Comment 7 Matej Kollar 2014-09-05 13:35:16 UTC
Config file was to be relocated to

Comment 9 Matej Kollar 2014-09-05 14:09:45 UTC
verified with rubygem-hammer_cli_import-0.10.4-1

Comment 10 Bryan Kearney 2014-09-11 12:29:47 UTC
This was delivered with Satellite 6.0 which was released on 10 September 2014.

Note You need to log in before you can comment on or make changes to this bug.