Project

Profile

Help

Issue #2511

pulp-puppet-module-builder ignores output-dir

Added by dlobatog about 5 years ago. Updated almost 3 years ago.

Status:
CLOSED - WORKSFORME
Priority:
Normal
Assignee:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.10.0
Platform Release:
OS:
CentOS 7
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

As you can see in the following example, no matter what I use as output dir , -o, --output-dir, it uses the default of the current directory:

[root@centos7-devel ~]# ls -l
total 56
-rw-------. 1 root root  5385 Nov  4 23:11 anaconda-ks.cfg
-rw-r--r--. 1 root root 36837 Jan  4 11:45 katello-certs-1.0.0.tar.gz
-rw-r--r--. 1 root root    98 Jan  4 11:45 PULP_MANIFEST
drwxr-xr-x. 8 root root  4096 Jan  4 11:45 puppet-certs
drwx------. 3 root root  4096 Dec 14 09:30 ssl-build
[root@centos7-devel ~]# pulp-puppet-module-builder -o='/modules' --url=https://github.com/Katello/puppet-certs.git
cd /root
git clone --recursive https://github.com/Katello/puppet-certs.git
fatal: destination path 'puppet-certs' already exists and is not an empty directory.

[root@centos7-devel ~]# pulp-puppet-module-builder -o '/modules' --url=https://github.com/Katello/puppet-certs.git
cd /root
git clone --recursive https://github.com/Katello/puppet-certs.git
fatal: destination path 'puppet-certs' already exists and is not an empty directory.

[root@centos7-devel ~]# pulp-puppet-module-builder -o /modules --url=https://github.com/Katello/puppet-certs.git
cd /root
git clone --recursive https://github.com/Katello/puppet-certs.git
fatal: destination path 'puppet-certs' already exists and is not an empty directory.

[root@centos7-devel ~]# pulp-puppet-module-builder --output-dir /modules --url=https://github.com/Katello/puppet-certs.git
cd /root
git clone --recursive https://github.com/Katello/puppet-certs.git
fatal: destination path 'puppet-certs' already exists and is not an empty directory.

[root@centos7-devel ~]# pulp-puppet-module-builder --output-dir=/modules --url=https://github.com/Katello/puppet-certs.git
cd /root
git clone --recursive https://github.com/Katello/puppet-certs.git
fatal: destination path 'puppet-certs' already exists and is not an empty directory.

Saw on pulp-puppet-tools 2.10.0

History

#1 Updated by dlobatog about 5 years ago

Feel free to close - the content is put on /modules properly, I thought it'd clone the repo there too

#2 Updated by bmbouter about 5 years ago

  • Status changed from NEW to CLOSED - WORKSFORME
  • Triaged changed from No to Yes

It sounds like the -o option is working. Closing at the request of the reporter.

#3 Updated by bmbouter almost 3 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF