Of course we can setup a cron job and run the shell command daily for housekeeping. But as we are using Puppet, we don’t we do that thru Puppet manifest?
One day i found that the Puppet master is running out of space and then i realize that there is a lot of run reports in YAML format located @ /var/lib/puppet/reports. I want to delete the old reports for releasing the disk space.
So i move to the /var/lib/puppet/reports directory and execute the following line to recursively remove any .yaml which is older than 14 days.
LibreOffice supports PDF conversion. What you need to do is to open the document in LibreOffice and click the Export as PDF… option under the file menu list. It’s good and simple to convert a single document but quite tedious if you have more files.
For batch conversion, we need to make use of the LibreOffice command in terminal.
1. Go to the directory which contains the source files.
2. Execute the following command to convert ALL files which ends with .odt into .pdf.
soffice --invisible --nologo --convert-to pdf *.odt
If you don’t have Maven repository server like Archiva or Nexus, you may need to include those libs which are not public on the internet in your Maven project and specifiy the dependency scope as system in the pom.xml. The following example includes the eureka-0.0.1.jar which is located in the folder called external on project root.
Sooner or later, the people of this country are going to find out the government doesn’t give a fuck about them. Government doesn’t care about you. All they are interested in, is keeping and expanding their own power.