- From: Xabier de Zuazo <
>
- To:
- Subject: [chef] Re: How to override_attribtes per environment in roles file?
- Date: Fri, 2 Nov 2012 01:21:32 +0100
Hi,
On Thu, 1 Nov 2012 14:28:27 +0545
Sachin Sagar Rai
<
>
wrote:
>
Following is the role file named ftpserver at roles/ftpserver.rb
>
>
override_attributes(
>
:vsftpd => {
>
:chroot_users => ["ftpuser"]
>
}
>
)
>
>
One way is to override it from the environments/some-env.rb file.
>
>
But I think to look its values later, I'll have to re-map opening
>
individual env files.
>
>
It would be better if I could just add it in the roles file per env
>
like env_run_list.
>
I proposed the following feature some time ago:
http://tickets.opscode.com/browse/CHEF-3441
Do you think it would be interesting to have it?
--
Xabier de Zuazo
IT System Administrator - Onddo Labs S.L.
Attachment:
signature.asc
Description: PGP signature
Archive powered by MHonArc 2.6.16.