Hy I' ve used a Yumrepo resource to set up the repository. I have passed the public key with a file resource. It seems to work now Thank you thank you again
Il giorno mercoledì 8 maggio 2013 00:39:53 UTC+2, Francesco ha scritto: > > Hy I m new to puppet. > I 'd like to install epel.repo on a my node and this is the module that I > ve created > > class epel { > > package { 'epel': > provider => 'rpm', > ensure => installed, > source => ' > http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm' > } > } > > Now my connection on node when I try to apply configuration is the > following > info: Applying configuration version '1367962540' > err: /Stage[main]/Epel/Package[epel]/ensure: change from absent to present > failed: Execution of '/bin/rpm -i --oldpackage > http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm' > returned 1: curl: (7) couldn't connect to host > error: skipping > http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm- > transfer failed > > If I set a proxy on my linux server it give me error 407 (require > authentication) > How can i setup a proxy in my /etc/puppet/modules/epel/init,pp > I read of a params.pp , but I cannot understand how to configure it > > > this is my site.pp > node rllbck02{ > include epel > > > thank you very much and good night > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.