Cooking on Windows Sever..

Hi guys! I have to manage Windows Server 2008 using Chef.. First of all, I need to choose the strategy for bootstrapping the new node and I am going to use an unattended bootstrap.. Configuring network card to talk with 33.33.33.10 (my Chef server) Download and install  chef-client for Windows from https://downloads.chef.io/chef-client/windows/ Copy client.rb and validation.pem to […]

Build chef LWRP and manage OpenSSH server banner with Chef

Hi guys, in this article we will se how to build a small LWRP Chef cookbook..The final result will be: ssh_banner_banner “banner” do banner_file _banner_file sshd_config_file node[‘ssh_banner’][‘sshd_config_file’] paranoic_mode true action :create notifies :restart, “service[sshd]” end If “paranoic mode” is true, chef will change configuration file and restart sshd, but after 20 seconds (by default) it […]

Setting up Wildfly8 Cluster in 5 minutes with Chef and Vagrant

Hi! This is my first post of this blog and I would like start with my last cookbook “wildfly-clu”.   We will create a simple Wildlfy cluster(domain mode) composed by 3 servers. For this test I will use CentOS release 6.3 (Final). Final result: Reach HelloWorld application to http://myserver1/helloworld  ( passing through reverse proxy) You […]