Sorry Peter you're right. I'm using elasticsearch-elasticsearch module from
the Forge e my manifest is the following:
### Agent #1
include java
include elasticsearch
include nginx
node "puppet-agent.example.com" {
file { "/etc/motd":
content => "Sto nuovamente riprovando a configurare i nodi con
puppet\n",
}
package { 'rsyslog':
ensure => installed,
}
package { 'htop':
ensure => installed,
}
elasticsearch::instance { 'es-01':
config => { 'cluster.name' => 'Puppet Cluster',
'node.name' => 'Puppet Agent Node 1'
}
}
}
### Agent #2
node "puppet-agent2.example.com" {
file { "/etc/motd":
content => "Sto nuovamente riprovando a configurare i nodi con
puppet\n",
}
package { 'rsyslog':
ensure => installed,
}
package { 'htop':
ensure => present,
}
elasticsearch::instance { 'es-02':
config => { 'cluster.name' => 'Puppet Cluster',
'node.name' => 'Puppet Agent Node 2'
}
}
}
Thanks in advance again. :-)
Il giorno mercoledì 29 aprile 2015 01:53:51 UTC+2, Peter Kristolaitis ha
scritto:
>
> Based solely on the error message -- it's always helpful if you include a
> snippet of your manifest to debug -- and assuming you're using the
> elasticsearch-elasticsearch module from the Forge, I'd say that you haven't
> provided one of "manage_repo => true" or "package_url => ..." in your
> manifest. Read the docs for the module under the "Package installation"
> heading.
>
>
>
> On 4/28/2015 7:34 PM, Gabriele Angeli wrote:
>
> Hi guys,
>
> I'm a puppet newbie ad i'm trying to install elasticsearch on my puppet
> agent but i've ever the same error:
>
> Notice:
> /Stage[main]/Elasticsearch::Config/File[/usr/share/elasticsearch/data]:
> Dependency Package[elasticsearch] has failures: true
> Warning:
> /Stage[main]/Elasticsearch::Config/File[/usr/share/elasticsearch/data]:
> Skipping because of failed dependencies
>
>
> Someone can help me? Thanks in advance.
> --
> 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] <javascript:>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/ad370a39-5640-4a96-a190-3185221599fb%40googlegroups.com
>
> <https://groups.google.com/d/msgid/puppet-users/ad370a39-5640-4a96-a190-3185221599fb%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit 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/8ea7ee6b-edfb-4bb9-8f73-3883021b30d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.