Make some pathnames more specific. Add a portmgr crontab (already

committed to repo) to hold the dopackagestats invocation, instead of
just having it in a user directory.
This commit is contained in:
Mark Linimon 2012-11-21 02:15:17 +00:00
parent 07522c1d64
commit 2ff95ff495
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=40113

View file

@ -1725,7 +1725,7 @@ ganglia:*:102:102::0:0:User &amp;:/usr/local/ganglia:/bin/sh</programlisting>
<listitem>
<para>Create the appropriate
<filename>/etc/rc.conf</filename>. (If you are using
<filename>etc/rc.conf</filename>. (If you are using
<literal>pxeboot</literal>, and have multiple,
different, machines, you will need to put those in
the override directories.)</para>
@ -1955,8 +1955,8 @@ touch /tmp/.boot_finished</screen>
<listitem>
<para>Configure <command>ssh</command>: copy
<filename>/etc/ssh</filename> to
<filename>/usr/local/etc/ssh</filename> and add
<filename>etc/ssh</filename> to
<filename>usr/local/etc/ssh</filename> and add
<literal>NoneEnabled yes</literal> to
<filename>sshd_config</filename>.</para>
</listitem>
@ -2159,13 +2159,17 @@ ssh_cmd="/usr/local/bin/ssh"
<procedure>
<step>
<para>Ensure that <literal>ssh</literal> is working by executing
<command>ssh <replaceable>hostname</replaceable></command>.
<command>ssh <replaceable>hostname</replaceable> uname -a</command>.
The actual command is not important; what is important is to
confirm the setup, and also add an entry into
<filename>known_hosts</filename>, once you have confirmed the
node's identity.
</para>
</step>
<step>
<para>Populate <filename>/var/portbuild/scripts/</filename>
by something like
<para>Populate the node's copy of
<filename>/var/portbuild/scripts/</filename> by something like
<command>/var/portbuild/scripts/dosetupnode <replaceable>arch</replaceable> <replaceable>major</replaceable> latest <replaceable>hostname</replaceable></command>.
Verify that you now have files in that directory.
</para>
@ -3161,8 +3165,17 @@ qmanager.sh</screen>
</step>
<step>
<para>Set up <filename>/var/portbuild/crontab/root</filename> as
the root crontab via <command>crontab -e</command>. If you do
<para>Install <filename>/var/portbuild/crontabs/root</filename> as
the <username>root</username> crontab via
<command>crontab -e</command>. If you do
not support all the archs listed there, make sure to comment out
the appropriate <application>dologs</application> entries.</para>
</step>
<step>
<para>Install <filename>/var/portbuild/crontabs/portmgr</filename> as
the <username>portmgr</username> crontab via
<command>crontab -u portmgr -e</command>. If you do
not support all the archs listed there, make sure to comment out
the appropriate <application>dologs</application> entries.</para>
</step>