A change in ansible version 1.3 to the gem module has gems installed to the users local cache. To install system wide use the user_install=no parameter.
Configuring puppet master ubuntu/debian
Installing puppet version 2.7.3 I will be installing the package via ruby gems. I do not like it all but the packages available in the apt repository are to old.
Install ruby, rubygems and dependencies apt-get install ruby rubygems libopenssl-ruby Install puppet via gem gem install puppet --version=2.7.3 Puppet executables You have to options here:
Add the gem bin path to your .profile
echo export PATH="$PATH:/var/lib/gems/1.8/bin" /root/.
[Read More]
resetting udev persistent net rules
I cloned a debian squeeze virtual box vdi and created a new vm using the cloned vdi as the disk. When I booted the vm I found that eth0 had not started. Looking at the logs revealed that it changed interface name to eth0. This was probably due to the new mac address showing up. I had no interest in preserving the old rules. Removing the /etc/udev/rules.d/70-persistent-net.rules file and restarting the vm resolved the issue.
[Read More]
turning off trust for apt
I had the need to install packages from a repo on debian that were unsigned. To get around this I created the file /etc/apt/apt.conf.d/00trustall add added the following:
`I had the need to install packages from a repo on debian that were unsigned. To get around this I created the file /etc/apt/apt.conf.d/00trustall add added the following:
`
This is quite dangerous. In production environments you should be using signed repositories.
[Read More]