- 7,650 hits
- Follow FOSS -THE FUTURE IS HERE on WordPress.com
Sometimes we have to create tools that takes input as argument with certain options. We can create such tool with optparse module of python. Here is a small example of using this. For help, type: ( This will display all … Continue reading
Python has a built in module to send mail to recipient[s] as to,cc,bcc. Here assumption is that : the smtp is configured in localhost (where the script will run).
There is a simple knife command which can be used to remove all recipes from the run_list of all nodes in a environment. For this you have to create a dummy role like suppose dummy_role. #knife role create dummy_role Once … Continue reading