Yes.

> Le 25 août 2017 à 20:10, Rob Nelson <[email protected]> a écrit :
> 
> 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 
> <[email protected] <mailto:[email protected]>> 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' 
> <https://artifacts.elastic.co/packages/5.x/yum'>,
>         mirrorlist => 'absent',
>         gpgcheck   => true,
>         gpgkey     => 'https://artifacts.elastic.co/GPG-KEY-elasticsearch' 
> <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 
> <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 [email protected] 
> <mailto:[email protected]>.
> 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 
> <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 [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/puppet-users/CAC76iT9sF2xO-NWAj09z15PjTRfTLswRmd60AOdEvekOLp1BUQ%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/puppet-users/CAC76iT9sF2xO-NWAj09z15PjTRfTLswRmd60AOdEvekOLp1BUQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/6D0D1D46-5C5A-406F-B5EE-C3B16487FA7A%40orange.fr.
For more options, visit https://groups.google.com/d/optout.

Reply via email to