Ask Your Question
1

Why use '::nova::rabbitmq' in this class?

asked 2014-06-07 23:46:07 -0500

Red Cricket gravatar image

My question is more about puppet syntax than anything else. Can someone explain to me why '::nova::rabbitmq' is used instead of just 'nova::rabbitmq' in this puppet code?

class havana::profile::rabbitmq {
  class { '::nova::rabbitmq':
    userid             => hiera('openstack::rabbitmq::user'),
    password           => hiera('openstack::rabbitmq::password'),
    cluster_disk_nodes => hiera('openstack::controller::address::management'),
  }
}
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
3

answered 2014-06-10 03:21:14 -0500

walterheck gravatar image

It is to make sure the rabbitmq class is loaded from the nova module. If you had a class called havana::profile::nova::rabbitmq, it would try to load that.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-06-07 23:46:07 -0500

Seen: 141 times

Last updated: Jun 10 '14