summaryrefslogtreecommitdiffstats
path: root/manifests/honeycomb.pp
diff options
context:
space:
mode:
authorFeng Pan <fpan@redhat.com>2017-07-27 22:29:36 -0400
committerFeng Pan <fpan@redhat.com>2017-07-28 15:26:33 -0400
commitd9ad6d211b86111bdca6b78891808a1bbdec86d2 (patch)
tree8a9b9ef064d19fc093ffed00945e11141bfe89c0 /manifests/honeycomb.pp
parenta6e575c8f0af17e62990653bcf4a12c688c21aad (diff)
Add scope to configure_role_mappings resource calling
Change-Id: Icf7f31b09d0f24f8c61235bd4e3dda43d3d47bc7 Signed-off-by: Feng Pan <fpan@redhat.com>
Diffstat (limited to 'manifests/honeycomb.pp')
-rw-r--r--manifests/honeycomb.pp12
1 files changed, 5 insertions, 7 deletions
diff --git a/manifests/honeycomb.pp b/manifests/honeycomb.pp
index 25739f2..ef216c3 100644
--- a/manifests/honeycomb.pp
+++ b/manifests/honeycomb.pp
@@ -69,9 +69,8 @@ class fdio::honeycomb (
ensure => present,
require => Package['vpp'],
}
- ->
# Configuration of Honeycomb
- file { 'honeycomb.json':
+ -> file { 'honeycomb.json':
ensure => file,
path => '/opt/honeycomb/config/honeycomb.json',
# Set user:group owners
@@ -80,8 +79,7 @@ class fdio::honeycomb (
# Use a template to populate the content
content => template('fdio/honeycomb.json.erb'),
}
- ~>
- service { 'honeycomb':
+ ~> service { 'honeycomb':
ensure => running,
enable => true,
hasstatus => true,
@@ -103,8 +101,8 @@ class fdio::honeycomb (
try_sleep => 30,
path => '/usr/sbin:/usr/bin:/sbin:/bin',
require => Service['honeycomb'],
- }->
- exec { 'Check VPP was mounted into ODL operational DS':
+ }
+ -> exec { 'Check VPP was mounted into ODL operational DS':
command => "curl --fail -u ${opendaylight_username}:${opendaylight_password} ${oper_mount_url} | grep ${node_id}",
tries => 5,
try_sleep => 30,
@@ -112,7 +110,7 @@ class fdio::honeycomb (
}
if !empty($interface_role_map) {
- configure_role_mappings { $interface_role_map:
+ fdio::honeycomb::configure_role_mappings { $interface_role_map:
honeycomb_username => $user,
honeycomb_password => $password,
honeycomb_url => "http://${bind_ip}:${rest_port}",