Issue #2400 has been updated by Stéphan Gorget.

I've already done things like this, 
http://groups.google.fr/group/puppet-dev/browse_thread/thread/919d230fc9e4727c, 
that print the output I past and send the changes in YAML through the report.

I have also written a YAML parser in python that runs on server side and parse 
the YAML, a classical output look like this :
<pre>
./puppet-monitor ./examples/*.yaml
[cors[005-008,010].ocre.cea.fr]
        Service:
                service_started : slurm
        File:
                file_changed : /root/os.txt (2)
        Package:
                package_installed : openmpi
                package_installed : openmpi-devel
[cors006.ocre.cea.fr]
        Service:
                service_started : slurm (2)
                service_started : munge

</pre>
With cron you can trigger it and send mail when the output is not null so that 
I can see if the configuration is drifting.


----------------------------------------
Feature #2400: Display in a machine-readable form all the changes that have 
been performed
http://projects.reductivelabs.com/issues/2400

Author: Stéphan Gorget
Status: Accepted
Priority: Normal
Assigned to: 
Category: transactions
Target version: 
Complexity: Unknown
Affected version: 0.25.0
Keywords: 


Add a parameter to puppetd that permit to see what changes that has been made, 
for example :

<pre>
puppetd --server cors002.ocre.cea.fr --changes --no-daemonize --onetime
File:
     file_changed: /etc/munge (2)
Package:
   package_installed: munge
   package_installed: slurm-munge
Service:
   service_started: munge
</pre>



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to