<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://jennyandlih.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Debian</title>
 <link>http://jennyandlih.com/note-type/tech/debian</link>
 <description>The taxonomy view.</description>
 <language>en</language>
<item>
 <title>Setting up puppet on Debian</title>
 <link>http://jennyandlih.com/setting-puppet-debian</link>
 <description>&lt;p&gt;Debian seems to think the default puppetmaster port is &lt;code&gt;18140&lt;/code&gt;... but  all the documentation I found and my puppet client running on Ubuntu says the default port is &lt;code&gt;8140&lt;/code&gt;.  Strange.&lt;/p&gt;
&lt;p&gt;Opening the configuration file &lt;code&gt;/etc/default/puppetmaster&lt;/code&gt; and changing the last line to the right port did the trick.&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;PORT=8140&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;I also got the following error when trying to use my newly-signed client certificate:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;br /&gt;
notice: Got signed certificate&lt;br /&gt;
&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://jennyandlih.com/setting-puppet-debian&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://jennyandlih.com/setting-puppet-debian#comments</comments>
 <category domain="http://jennyandlih.com/note-type/tech/debian">Debian</category>
 <category domain="http://jennyandlih.com/note-type/tech/puppet">Puppet</category>
 <pubDate>Fri, 16 May 2008 22:54:45 -0600</pubDate>
 <dc:creator>jenny</dc:creator>
 <guid isPermaLink="false">623 at http://jennyandlih.com</guid>
</item>
<item>
 <title>Don&#039;t clear out /tmp on boot</title>
 <link>http://jennyandlih.com/dont-clear-out-tmp-boot</link>
 <description>&lt;p&gt;Yes, &lt;code&gt;/tmp&lt;/code&gt; is for temporary files... but cleaning it out on every boot?  Whose bright idea was that?&lt;/p&gt;
&lt;p&gt;Here&#039;s how to fix it.  In &lt;code&gt;/etc/default/rcS&lt;/code&gt;, locate this line:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;TMPTIME=0&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;This is where the number of days old a file needs to be for it to be deleted on boot is supposed to go.  Notice the offending 0.  That means delete everything, every time.  Change this value to something sensible like 15 or 30.&lt;/p&gt;
&lt;p&gt;Other distros use cron to clean out /tmp, and the default for those is 720 hours (30 days).&lt;/p&gt;
</description>
 <comments>http://jennyandlih.com/dont-clear-out-tmp-boot#comments</comments>
 <category domain="http://jennyandlih.com/note-type/tech/debian">Debian</category>
 <category domain="http://jennyandlih.com/note-type/tech/ubuntu">Ubuntu</category>
 <pubDate>Mon, 10 Mar 2008 02:04:01 -0600</pubDate>
 <dc:creator>jenny</dc:creator>
 <guid isPermaLink="false">478 at http://jennyandlih.com</guid>
</item>
</channel>
</rss>

