Examples:
Add a subscription to an agent using composite names
sensu_agent_entity_config { 'subscription value linux on sensu-agent.example.org in dev':
ensure => 'present',
}
Add an annotation to an agent using composite names
sensu_agent_entity_config { 'annotations key contacts on sensu-agent.example.org in dev':
ensure => 'present',
value => 'dev@example.com',
}
Add a subscription to an agent
sensu_agent_entity_config { 'subscription':
ensure => 'present',
config => 'subscription',
value => 'linux',
entity => 'sensu-agent.example.org',
namespace => 'dev',
}
Add an annotation to an agent
sensu_agent_entity_config { 'annotation-contacts':
ensure => 'present',
config => 'annotation',
key => 'contacts',
value => 'dev@example.com',
entity => 'sensu-agent.example.org',
namespace => 'dev',
}