What is meaning of <| |> ~> signal

36 views
Skip to first unread message

NewpTone

unread,
Aug 25, 2012, 11:22:02 PM8/25/12
to puppet...@googlegroups.com
Hi,I'm studying the puppetlabs-openstack module for deploying openstack, there is sytax confusing me in the manfests file:

 Swift::Ringbuilder::Create['object'] -> Ring_object_device <| |> ~> Swift::Ringbuilder::Rebalance['object']

I just know -> means notify ,but what does <| |> ~>mean? I didn't find the related document on the puppet site.
I really appreciate if  anyone can help me.

Tim Sharpe

unread,
Aug 25, 2012, 11:53:41 PM8/25/12
to puppet...@googlegroups.com
Hi,

-> and <- create ordering relationships (like the require and before metaparameters)
~> and <~ create notify relationships (like the notify and subscribe metaparameters)


Cheers,
Tim
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/Tys_jHXMDHwJ.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

James Turnbull

unread,
Aug 26, 2012, 2:18:38 PM8/26/12
to puppet...@googlegroups.com
Tim Sharpe wrote:
> Hi,
>
> -> and <- create ordering relationships (like the require and before
> metaparameters)
> ~> and <~ create notify relationships (like the notify and subscribe
> metaparameters)
>

And the <| |> symbols are resource collectors:

http://docs.puppetlabs.com/puppet/2.7/reference/lang_collectors.html

Regards

James Turnbull

--
James Turnbull
Puppet Labs
1-503-734-8571
To schedule a meeting with me: http://tungle.me/jamtur01

Yu Xingchao

unread,
Aug 26, 2012, 8:39:38 PM8/26/12
to puppet...@googlegroups.com
Thanks a lot ! Now I know this symbols's meaning.

2012/8/27 James Turnbull <ja...@puppetlabs.com>
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
330.gif

wen1023 wu

unread,
Aug 26, 2012, 9:17:52 PM8/26/12
to puppet...@googlegroups.com
i had see the puppet cookbook  ,the author suggestion

used require instead of ->, and so on

2012/8/27 Yu Xingchao <yux...@gmail.com>
330.gif
Reply all
Reply to author
Forward
0 new messages