apt: new process for package install on puppet nodes
authorClinton Ebadi <clinton@unknownlamer.org>
Sun, 22 Apr 2018 17:21:12 +0000 (13:21 -0400)
committerClinton Ebadi <clinton@unknownlamer.org>
Sun, 22 Apr 2018 17:21:12 +0000 (13:21 -0400)
apt.mlt

diff --git a/apt.mlt b/apt.mlt
index 1aef9b1..d5a3e06 100644 (file)
--- a/apt.mlt
+++ b/apt.mlt
@@ -106,7 +106,7 @@ elseif $"cmd" = "open" then
        <br>
        <a href="apt?mod=<% #id req %>">[Modify]</a>
        <a href="apt?del=<% #id req %>">[Delete]</a><br>
-       To install, run: <tt>apt-get install<% foreach pkg in pkgs do %>&nbsp;<% pkg %><% end %></tt>
+       To install on a node controlled by Puppet, declare <tt>package { [ <% foreach pkg in pkgs do %>'<% Web.html pkg %>', <% end %> ]: }</tt> in manifest <tt>hcoop::server::<% Web.html (Init.nodeName (#node req)) %></tt>. If the node is not managed by Puppet, run: <tt>apt-get install<% foreach pkg in pkgs do %>&nbsp;<% Web.html pkg %><% end %></tt>.
 <% end %>
 
 <%     end