Hi
First post to this list. I know that by default chef clients check
configuration changes from chef server. I’m wondering is it possible that chef
server pushes configuration to specified clients. If there is, how can it be
done?
Best regards,
Marek
Have a look at the role and environment concepts in the Chef documentation.
i.e. you would have a set of your nodes take a role (like web-server) and
then set the configuration for the role for them. Environments are similar.
You really don't want to have single special little snowflake nodes.
On Wed, Apr 25, 2012 at 11:03 AM, marek166@gmail.com wrote:
Hi
First post to this list. I know that by default chef clients check
configuration changes from chef server. I'm wondering is it possible that
chef
server pushes configuration to specified clients. If there is, how can it
be
done?
Best regards,
Marek
On Apr 25, 2012, at 1:03 PM, marek166@gmail.com marek166@gmail.com wrote:
First post to this list. I know that by default chef clients check
configuration changes from chef server. I'm wondering is it possible that chef
server pushes configuration to specified clients. If there is, how can it be
done?
The chef model is client pull, not server push.
You could have your nodes run chef-client more frequently, or you could use an external coordination/synchronization service like Zookeeper or Noah to notify your clients in near real-time that they need to go pick up changes.
But any way you look at it, one of the most basic concepts of chef is client pull, not server push.
--
Brad Knowles bknowles@ihiji.com
SAGE Level IV, Chef Level 0.0.1
Thank you very much for your reply. I'will try one of your suggestions.
Best regards,
Marek
On 4/25/12, Brad Knowles bknowles@ihiji.com wrote:
On Apr 25, 2012, at 1:03 PM, marek166@gmail.com marek166@gmail.com
wrote:
First post to this list. I know that by default chef clients check
configuration changes from chef server. I'm wondering is it possible that
chef
server pushes configuration to specified clients. If there is, how can it
be
done?
The chef model is client pull, not server push.
You could have your nodes run chef-client more frequently, or you could use
an external coordination/synchronization service like Zookeeper or Noah to
notify your clients in near real-time that they need to go pick up changes.
But any way you look at it, one of the most basic concepts of chef is client
pull, not server push.
--
Brad Knowles bknowles@ihiji.com
SAGE Level IV, Chef Level 0.0.1