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. For more options, visit https://groups.google.com/d/optout.