- From: Alexander Halkuziev <
>
- To: "
" <
>
- Subject: [chef] Re: Re: Chef-roles
- Date: Tue, 26 Jun 2012 16:58:40 +0400
It's strange, after all this steps I see that my run_list contain role, but "roles" still hasn't any role. Any suggestions? ---- Best regards Alexander Khalkuziev 26.06.2012, в 16:42, Max Gorbul <
">
> написал(а): node.roles - is the expanded list of all roles applied to the node node.run_list.roles - is the list of roles defined for the run_list
for example
roles/foo.rb
run_list("role[bar]")
# knife node run_list add node1 'role[foo]'
# knife node show node1 -a roles foo bar
# knife node show node1 -a run_list.roles
foo
--max On Tue, Jun 26, 2012 at 3:03 PM, Alexander Halkuziev <
" target="_blank">
> wrote:
Hi,
As wiki says we could apply roles list on the node through the "run_list". Also I see that node has attribute "roles". Question: how does roles from run_list moving to this attribute?
Chef server and client version is 0.10.10.
Thanks for help!
----
Best regards
Alexander Khalkuziev
|
Archive powered by MHonArc 2.6.16.