Ask Your Question

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

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

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

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

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


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

Seen: 157 times

Last updated: Jun 10 '14