- From: Sachin Sagar Rai <
>
- To: "
" <
>
- Subject: [chef] How to override_attribtes per environment in roles file?
- Date: Thu, 1 Nov 2012 14:28:27 +0545
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.
Is this already in chef or any plugins?
-------------------------------------------
- [chef] How to override_attribtes per environment in roles file?, Sachin Sagar Rai, 11/01/2012
Archive powered by MHonArc 2.6.16.