The puppet log shows the resource name only. Did you check for the presence of the file at all?
On Fri, Aug 25, 2017 at 9:20 AM Fabrice Bacchella < fabrice.bacche...@orange.fr> wrote: > I tried to create a yumrepo for elasticsearch, and like many years ago, > puppet seems to be unable to create it in the requested files: > > yumrepo {'elasticsearch-5.x': > name => 'elasticsearch-5.x', > baseurl => 'https://artifacts.elastic.co/packages/5.x/yum', > mirrorlist => 'absent', > gpgcheck => true, > gpgkey => 'https://artifacts.elastic.co/GPG-KEY-elasticsearch' > , > descr => 'Elasticsearch repository for 5.x packages', > target => '/etc/yum.repos.d/elasticsearch.repo', > } > > And puppet running: > Notice: /Stage[pre]/Bigdatademo::Yum/Yumrepo[elasticsearch-5.x]/ensure: > created > > What target then is good for ? see > https://docs.puppet.com/puppet/latest/types/yumrepo.html > > target > > The filename to write the yum repository to. > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/65CB405A-C426-4823-88BE-F71A8B3CB779%40orange.fr > <https://groups.google.com/d/msgid/puppet-users/65CB405A-C426-4823-88BE-F71A8B3CB779%40orange.fr?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Rob Nelson -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAC76iT9sF2xO-NWAj09z15PjTRfTLswRmd60AOdEvekOLp1BUQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.