Nginx Docker Container with HTTPS protocol


Many times you need to test a functionality on https website and you are searching the working image of docker container.

There are many images available in docker hub but you need to configure them accordingly.

However if you already working with very basic Nginx docker container, you might … Continue Reading...

Restore files after Puppet apply the changes


Sometimes, unknowingly you run the puppet agent which is stopped by some other teammate for some sort of testing which enforce Puppet to apply the changes which are changed in Puppet agent and configured in Puppet Master.


Its really horrible and can creates lots of confusion, issues and conflicts

But … Continue Reading...

Run Sql Query from Jenkins or any CI Tool


Sometimes, there is a need to run sql transactions during Building the code.

You might have searched for the plugins but that is not easily available, but you need to run sql query through your CI-CD tool.

Now, what to do ?

You can use SQLCMD for the same 🙂… Continue Reading...

td-agent throwing error – (Errno::EACCES), Unknown output plugin ‘gelf’


Fluentd and Graylog2 can be used for End-to-End Log Analysis.

Fluentd is free and fully open-source log collector which works on technique ‘Log Everything

Graylog2 is a powerful and currently most popular log analysis framework powered by Elasticsearch and MongoDB.

Fluentd can output data to Graylog2 in the … Continue Reading...

Puppet Dashboard Error – getaddrinfo: Name or service not known (SocketError)


While configuring the Puppet Dashboard for your Puppet Instance, you might get this kind of error

/usr/lib/ruby/1.8/webrick/utils.rb:63:in `getaddrinfo’: getaddrinfo: Name or service not known (SocketError)

[2015-05-17 19:48:38] INFO  ruby 1.8.7 (2011-06-30) [x86_64-linux]
/usr/lib/ruby/1.8/webrick/utils.rb:63:in `getaddrinfo': getaddrinfo: Name or service not known (SocketError)
        from /usr/lib/ruby/1.8/webrick/utils.rb:63:in `create_listeners'
        from /usr/lib/ruby/1.8/webrick/server.rb:75:in `listen'
        from /usr/lib/ruby/1.8/webrick/server.rb:63:in `initialize'
Continue Reading...

Jenkins Upgrade Manual with screenshots


We have already seen Jenkins Installation , Jenkins Master-Slave configuration and Jenkins Windows Slave configuration in our previous articles.

So lets move further and discuss about Jenkins upgrade to new version.

If you are using Jenkins for production or for multiple tasks, it is very important that you keep your … Continue Reading...

RPM error: can’t create transaction lock on /var/lib/rpm/__db.000


Sometimes when you are using rpm, it might throws the warning followed by error, like below:

[root@scmquest ]# rpm -ivh virt-what-1.11-2.el5.x86_64.rpm
warning: virt-what-1.11-2.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
warning: waiting for transaction lock on /var/lib/rpm/__db.000
error: can't create transaction lock on /var/lib/rpm/__db.000

You can try killing the … Continue Reading...

Puppet error after Ruby upgrade


As per the thumb rule, all your softwares should be up to date and in-sync with other tools upgrade.

But if you are getting Error in puppet after ruby upgrade like :

/usr/share/puppet-dashboard/script/../config/../vendor/rails/railties/lib/rails/gem_dependency.rb:23:in `add_frozen_gem_path': undefined local variable or method `source_index' for Rails::GemDependency:Class (NameError)
        from /usr/share/puppet-dashboard/script/../config/boot.rb:47:in `load_initializer'
        from /usr/share/puppet-dashboard/script/../config/boot.rb:38:in `run'
Continue Reading...

Puppet Error: Could not request certificate: The certificate retrieved from the master does not match the agent’s private key.


While configuring the new Puppet agent, sometimes its throwing error like below

[root@appvm001 puppet]# puppet agent --verbose --test
Info: Creating a new SSL key for appvm001
Info: Caching certificate for ca
Info: Caching certificate for appvm001
Error: Could not request certificate: The certificate retrieved from the master does not match 
Continue Reading...

Pass Jenkins Upstream Job Parameter to Downstream Job


When we are implementing CI/CD through Jenkins, sometimes there is a need of passing parameter from one job to another job.

Here I am going to demonstrate how to achieve the same.

First of all, Install the Jenkins Parameterized Trigger Plugin – Go to Manage Jenkins and then Click … Continue Reading...