Created by
Ian Samuel
| # puppet module install puppetlabs-apt
# puppet module install lesaux/kibana4
include apt
apt::source { 'elasticsearch':
location => 'http://packages.elastic.co/elasticsearch/1.7/debian',
release => 'stable',
repos => 'main',
key => {
id => '46095ACC8548582C1A2699A9D27D666CD88E42B4',
server => 'pgp.mit.edu',
}
}
$install_packages_es = ['elasticsearch','default-jre-headless']
package { $install_packages_es:
ensure => latest,
require => Apt::Source['elasticsearch'],
}
service { 'elasticsearch':
ensure => running,
enable => true,
}
class { '::kibana4':
install_dir => '/usr/local',
}
|