Situation: You want to run different task (application install / registry edition / copy to another path / …) depends on processor architecture. You must to determinate that what is the maximum addressable length of target processor so in short: It is 32-bit (x86) or 64-bit (x64) processor? Solution: Here […]
Month: September 2016
Windows – Disable / Enable firewall from batch
Reason: If you have an application which pop-up firewall window in setup’s run-time will interrupt your installation & you couldn’t automatize it. The solution is simple. Before you start you installation, disable firewall. When finished it, enable it again. Here are the commands for it: Commands: To disable it To enable […]
Windows – Disable UAC from cmd (scriptable)
When this needed: A few years ago I built an automatic installer packages with “WPI” – Windows Post Install. When Vista arrived, Microsoft built User Account Control in further windows as a security component. This mechanism is an entry-level defense. Not to smart & not to effective, but in a lot […]
Puppet – SSL certification problem on host with puppet agent (linux)
Introduction: When you create new puppet clients or the certification of client was changed or changed your puppet-master, you will face the following problems: Example error messages related to this problem: Step-by-step guide to solve SSL certification problem (less secure, more effective for more client) You must to be root […]
Search on puppetDB (query)
Introduction: A few month ago I faced an issue which was caused by puppet. I tried to search (and I found) the reason, why puppet generate config-file for non-exist host for bacula (but it could be happened everywhere, like in nagios config; /etc/hosts entry;…). Now I will explain one tool […]