Puppet master
server name in /etc/puppet/puppet.conf is not needed
set autosign=true in /etc/puppet/puppet.conf
Obtain the puppet master hostname by executing "hostname -f"
Puppet agent
Set the proper puppet hostname in /etc/puppet/puppet.conf which is obtained in the previous command, if that is resolvable. Otherwise need to add that hostname into /etc/hosts file
agent's hostname can be any value. No need to have master's hostnames init. puppet agents hostname need to be resolvable. for eg, to 127.0.0.1
Thursday, December 18, 2014
Wednesday, October 8, 2014
Code Analysis with SonarQube Eclipse Plugin
SonarQube is a cool platform which helps to maintain code quality of a project, through integration of several code analysis tools like PMD, FindBugs, Checkstyle etc. Code quality of Apache Stratos
project is also measured and maintained through SonarQube.
Committers and contributors of Apache Stratos project are advised to have their code analysed through SonarQube before committing any new code or sending a PR.
There is an Eclipse plugin which makes developers' life easier, to run an analysis and find out code if there's any code quality issues, and fix without moving away from Eclipse.
I have recently written a wiki entry on how to configure and use SonarQube Eclipse plugin to analyse your code for Apache Stratos, you can find it here
Friday, February 28, 2014
MySQL ERROR 1045 (28000): Access denied for user 'username'@'localhost' (using password: YES)
Answer is, :)
You probably have an anonymous user
refer : http://stackoverflow.com/questions/10299148/mysql-error-1045-28000-access-denied-for-user-billlocalhost-using-passw
Then delete those anonymous users,
mysql> DELETE FROM mysql.user WHERE User='';
mysql> flush privileges;
Done..!
You probably have an anonymous user
''@'localhost'
or ''@'127.0.0.1'
.refer : http://stackoverflow.com/questions/10299148/mysql-error-1045-28000-access-denied-for-user-billlocalhost-using-passw
Then delete those anonymous users,
mysql> DELETE FROM mysql.user WHERE User='';
mysql> flush privileges;
Done..!
Subscribe to:
Posts (Atom)