Puppet Class: cloudinsight_agent::integrations::mesos

Inherits:
cloudinsight_agent::params
Defined in:
manifests/integrations/mesos.pp

Overview

Class: cloudinsight_agent::integrations::mesos

This class will install the necessary configuration for the mesos integration

Parameters:

$url:
  The URL for Mesos master

Sample Usage:

class { 'cloudinsight_agent::integrations::mesos' :
  url  => "http://localhost:5050"
}

Parameters:

  • mesos_timeout (Any) (defaults to: 5)
  • url (Any) (defaults to: 'http://localhost:5050')


15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'manifests/integrations/mesos.pp', line 15

class cloudinsight_agent::integrations::mesos(
  $mesos_timeout = 5,
  $url = 'http://localhost:5050'
) inherits cloudinsight_agent::params {

  file { "${cloudinsight_agent::params::conf_dir}/mesos.yaml":
    ensure  => file,
    owner   => $cloudinsight_agent::params::cloudinsight_user,
    group   => $cloudinsight_agent::params::cloudinsight_group,
    mode    => '0644',
    content => template('cloudinsight_agent/agent-conf.d/mesos.yaml.erb'),
    require => Package[$cloudinsight_agent::params::package_name],
    notify  => Service[$cloudinsight_agent::params::service_name]
  }
}