Dear support,

I'm trying to setup Es using this module - 
https://github.com/elastic/puppet-elasticsearch/blob/master/README.md
For sake of testing I spin up a new VM and try to apply default module on it

node somenode{
include elasticsearch
}

It ends up with rpm package installed but absent service

Info: Applying configuration version '1429537010'
Notice: /Stage[main]/Elasticsearch::Package/Package[elasticsearch]/ensure: 
created
Info: Computing checksum on file /etc/init.d/elasticsearch
Info: FileBucket got a duplicate file {md5}cbd974e711b257c941dddca3aef79e46
Info: /Stage[main]/Elasticsearch::Config/File[/etc/init.d/elasticsearch]: 
Filebucketed /etc/init.d/elasticsearch to puppet with sum 
cbd974e711b257c941dddca3aef79e46
Notice: 
/Stage[main]/Elasticsearch::Config/File[/etc/init.d/elasticsearch]/ensure: 
removed
Info: Computing checksum on file 
/usr/lib/systemd/system/elasticsearch.service
Info: FileBucket got a duplicate file {md5}649153421e86836314671510160c3798
Notice: 
/Stage[main]/Elasticsearch::Config/File[/usr/lib/systemd/system/elasticsearch.service]/ensure:
 
removed
Notice: 
/Stage[main]/Elasticsearch::Config/File[/usr/share/elasticsearch/lib/spatial4j-0.4.1.jar]/owner:
 
owner changed 'root' to 'elasticsearch'
Notice: 
/Stage[main]/Elasticsearch::Config/File[/usr/share/elasticsearch/lib/spatial4j-0.4.1.jar]/group:
 
group changed 'root' to 'elasticsearch'
Notice: 
/Stage[main]/Elasticsearch::Config/File[/usr/share/elasticsearch/lib/asm-4.1.jar]/owner:
 
owner changed 'root' to 'elasticsearch'
Notice: 
/Stage[main]/Elasticsearch::Config/File[/usr/share/elasticsearch/lib/asm-4.1.jar]/group:
 
group changed 'root' to 'elasticsearch'
Notice: 
/Stage[main]/Elasticsearch::Config/File[/usr/share/elasticsearch/lib/lucene-join-4.10.4.jar]/owner:
 
owner changed 'root' to 'elasticsearch'
Notice: 
/Stage[main]/Elasticsearch::Config/File[/usr/share/elasticsearch/lib/lucene-join-4.10.4.jar]/group:
 
group changed 'root' to 'elasticsearch'

...

Info: Computing checksum on file /etc/elasticsearch/elasticsearch.yml
Info: FileBucket got a duplicate file {md5}08a09998560b7b786eca1e594b004ddc
Info: 
/Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]: 
Filebucketed /etc/elasticsearch/elasticsearch.yml to puppet with sum 
08a09998560b7b786eca1e594b004ddc
Notice: 
/Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]/ensure:
 
removed
Info: Computing checksum on file /etc/elasticsearch/logging.yml
Info: FileBucket got a duplicate file {md5}c0d21de98dc9a6015943dc47f2aa18f5
Info: 
/Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/logging.yml]: 
Filebucketed /etc/elasticsearch/logging.yml to puppet with sum 
c0d21de98dc9a6015943dc47f2aa18f5
Notice: 
/Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/logging.yml]/ensure: 
removed
Notice: 
/Stage[main]/Elasticsearch::Config/File[/usr/share/elasticsearch/lib/jna-4.1.0.jar]/owner:
 
owner changed 'root' to 'elasticsearch'
Notice: 
/Stage[main]/Elasticsearch::Config/File[/usr/share/elasticsearch/lib/jna-4.1.0.jar]/group:
 
group changed 'root' to 'elasticsearch'
Notice: Finished catalog run in 43.57 seconds



Also I noticed that module doesn't handle repository in default state, so I 
need to include variables
elasticsearch::manage_repo: true
elasticsearch::repo_version: "1.5"


So what am I doing wrong ?

Regards
Sergey

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/d6e9bd4d-fbb1-44e7-82c1-f44705c8d61e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to