When I realised that the free version of VMWare ESXi only kept an hours worth of logging information I went looking for a solution to keep more statistical data. This is what I have come up with so far.
Category: Sys Admin
I have been playing with Puppet today in a way to manage my web server farm at work when i came up against this strange error:
Apr 21 15:39:12 predev2 puppetmasterd[6692]: Could not parse for environment production: Could not match 'import' at /etc/puppet/manifests/modules.pp:1
This issue is caused by files saved in the Windows format, to solve just open your files in VI and enter the following command:
:set fileformat=unix
This will convert the file from DOS to UNIX based line endings. You can also use any decent text editor to do the same thing.