PSARC 2013/426 Puppet 3.4.1
17783988 Add zone.rb to Facter
17798202 Several providers return errors due to Ruby 1.9 changes.
17945378 backport of 17257851 to 11.2 was never actually done
18010466 Update Puppet to 3.4.1
Add auditing support to agent execution
--- puppet-3.4.1/lib/puppet/agent.rb.orig 2013-03-08 16:03:45.000000000 -0700
+++ puppet-3.4.1/lib/puppet/agent.rb 2013-03-08 16:03:45.000000000 -0700
@@ -1,4 +1,7 @@
require 'puppet/application'
+if Facter.value(:osfamily) == "Solaris"
+ require 'PuppetAudit'
+end
# A general class for triggering a run of another
# class.
@@ -35,6 +38,11 @@
return
end
+ if Facter.value(:osfamily) == "Solaris"
+ audit_handle = PuppetAudit.new
+ audit_handle.audit_start
+ end
+
result = nil
block_run = Puppet::Application.controlled_run do
splay
@@ -50,6 +58,10 @@
end
end
end
+ if Facter.value(:osfamily) == "Solaris"
+ audit_handle.audit_stop
+ audit_handle.audit_teardown
+ end
true
end
Puppet.notice "Shutdown/restart in progress (#{Puppet::Application.run_status.inspect}); skipping run" unless block_run