Hi Roth Sandro, Thanks a bunch for your reply, I followed enabled http and
publish for my repo and my repo details are as follows,

I run these commands,

* pulp-admin rpm repo update --repo-id epel --serve-http=true

* pulp-admin rpm repo publish run --repo-id epel


[root@pulpy ~]# pulp-admin rpm repo list --detail
+----------------------------------------------------------------------+
                            RPM Repositories
+----------------------------------------------------------------------+

Id:                  epel
Display Name:        epel
Description:         None
Content Unit Counts:
  Erratum:                431
  Package Category:       4
  Package Environment:    1
  Package Group:          209
  Rpm:                    6018
  Yum Repo Metadata File: 1
Notes:
Importers:
  Config:
    Feed: http://download.fedoraproject.org/pub/epel/7/x86_64/
  Id:               yum_importer
  Importer Type Id: yum_importer
  Last Sync:        2014-10-29T01:48:24+05:30
  Repo Id:          epel
  Scheduled Syncs:
Distributors:
  Auto Publish:        True
  Config:
    Checksum Type: sha256
    Http:          True
    Https:         True
    Relative URL:  epel
  Distributor Type Id: yum_distributor
  Id:                  yum_distributor
  Last Publish:        2014-10-29T01:48:48+05:30
  Repo Id:             epel
  Scheduled Publishes:
  Auto Publish:        False
  Config:
    Http:  False
    Https: True
  Distributor Type Id: export_distributor
  Id:                  export_distributor
  Last Publish:        None
  Repo Id:             epel
  Scheduled Publishes:

But still I can't able to access my repos via http. Please let me know if I
miss anything.


On Mon, Nov 17, 2014 at 5:48 PM, Roth, Sandro <
[email protected]> wrote:

>  Hi
>
>
>
> You can absolutely access your repos without a pulp client on your servers.
>
>
>
> Do you have publish to http set to true in your repo?
>
> My repos look like this, when you run a pulp-admin rpm repo list --detail
>
>
>
>   Auto Publish:        False
>
>   Config:
>
>     Http:  True
>
> Https: True
>
>
>
> If not, you can either use https in your repo file on the client or enable
> http publishing. I think https is enabled by default.
>
>
>
> # pulp-admin rpm repo update –repo-id <id here> --serve-http=true
>
> # pulp-admin rpm repo publish –repo-id <id here>
>
>
>
> Browse your repos at http://your-pulp-server-address/pulp/repos and copy
> paste that url to your repo config on your clients.
>
>
>
>
>
> Cheers
>
> Sandro
>
>
>
> *From:* [email protected] [mailto:[email protected]]
> *On Behalf Of *RK RK
> *Sent:* Montag, 17. November 2014 11:27
> *To:* [email protected]
> *Subject:* [Pulp-list] configure puplic repo with pulp
>
>
>
> Hi All,
>
> I am using pulp 2.4.x and I have my set of packages to be distributed as a
> repo.
>
> The token default_to_published is set to true in pulp.conf
>
> I also used the option pulp-admin repo publish to publish my repo
>
> But even then I cannot retrieve the packages to my client via yum install.
>
> I have manually created the repo file to point my pulp server in my client.
>
> I didn't install any pulp client in my client machine.
>
> Is there any way to publish the repo to the public in pulp via port 80 and
> use those repo from the client without installing any pulp client packages?
>
>
> --
>
>
> With Regards,
> RK,
> +91 9840483044
>
> This email message and any attachments are confidential and may be 
> privileged. If you are not the intended recipient, please notify us 
> immediately and destroy the original transmittal. You are hereby notified 
> that any review, copying or distribution of it is strictly prohibited. Thank 
> you for your cooperation.
>
> Header information contained in E-mails to and from the company are monitored 
> for operational reasons in accordance with swiss data protection act.
>
>
> _______________________________________________
> Pulp-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/pulp-list
>



-- 

With Regards,
RK,
+91 9840483044
_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list

Reply via email to