Please review pull request #50: (#12727) Update mco checkupdates action opened by (binford2k)

Description:

Updated the checkupdates action to match current output, per Volcane on #puppetlabs

  • Opened: Mon Feb 20 20:37:35 UTC 2012
  • Based on: puppetlabs:master (b3904033f5270764bb043cd9286fe8d91c8bc3de)
  • Requested merge: binford2k:12727_checkupdates_match_current_output (57006084b890db34a68d50b10374980c3bb23253)

Diff follows:

diff --git a/source/pe/2.0/orchestration_usage.markdown b/source/pe/2.0/orchestration_usage.markdown
index 7a70fb2..8752a34 100644
--- a/source/pe/2.0/orchestration_usage.markdown
+++ b/source/pe/2.0/orchestration_usage.markdown
@@ -294,30 +294,33 @@ packages outside of a normal Puppet configuration run. The
 following is the trimmed output of running the
 checkupdates action:
 
-    peadmin@puppetmaster:~$ mco rpc package checkupdates
-    Determining the amount of hosts matching filter for 2 seconds .... 2
-    [ ===================================================> ] 2 / 2
-    agent.example.com                      
-       Outdated Packages:
-              Output:
-                kernel.i686                 2.6.18-274.7.1.el5          
-                openssh.i386                4.3p2-72.el5_7.5            
-                openssh-clients.i386        4.3p2-72.el5_7.5            
-                openssh-server.i386         4.3p2-72.el5_7.5            
-                openssl.i686                0.9.8e-20.el5                
-                zlib.i386                   1.2.3-4.el5                  
-       Exit Code: 100
-       Package Manager: yum
-
-     puppetmaster.example.com              
-       Outdated Packages:
-              Output:
-                kernel.i686                           2.6.18-274.7.1.el5          
-                ...
-              Exit Code: 0
-       Package Manager: yum
-
-     Finished processing 2 / 2 hosts in 1703.97 ms
+    peadmin@puppetmaster:~$ mco rpc package checkupdates -W fqdn=agent.example.com
+    Determining the amount of hosts matching filter for 2 seconds .... 1
+     * [ ============================================================> ] 1 / 1
+    agent.example.com
+       Outdated Packages: [{:package=>"glibc.i686", :version=>"2.5-65.el5_7.1", :repo=>"base_local"},
+                           {:package=>"nscd.i386", :version=>"2.5-65.el5_7.1", :repo=>"base_local"},
+                           {:package=>"ntp.i386",
+                            :version=>"4.2.2p1-15.el5.centos.1",
+                            :repo=>"base_local"},
+                           {:package=>"openssh.i386", :version=>"4.3p2-72.el5_7.5", :repo=>"base_local"},
+                           {:package=>"openssh-clients.i386",
+                            :version=>"4.3p2-72.el5_7.5",
+                            :repo=>"base_local"},
+                           {:package=>"openssh-server.i386",
+                            :version=>"4.3p2-72.el5_7.5",
+                            :repo=>"base_local"}]
+                  Output:
+    glibc.i686                       2.5-65.el5_7.1                       base_local
+    nscd.i386                        2.5-65.el5_7.1                       base_local
+    ntp.i386                         4.2.2p1-15.el5.centos.1              base_local
+    openssh.i386                     4.3p2-72.el5_7.5                     base_local
+    openssh-clients.i386             4.3p2-72.el5_7.5                     base_local
+    openssh-server.i386              4.3p2-72.el5_7.5                     base_local
+               Exit Code: 100
+         Package Manager: yum
+
+    Finished processing 1 / 1 hosts in 409.14 ms
 
 ### Controller
 

    

--
You received this message because you are subscribed to the Google Groups "Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to