| On linux (CentOS/RedHat) with puppet agent 6 the following error appears during puppet run :
Error: Transaction store file ..../state/transactionstore.yaml is corrupt ((..../state/transactionstore.yaml): Tried to load unspecified class: Puppet::Util::Execution::ProcessOutput); replacing |
Wrapped exception: |
Tried to load unspecified class: Puppet::Util::Execution::ProcessOutput
|
in transactionstore.yaml:
Sysctl[net.ipv4.conf.all.send_redirects]: |
parameters: |
ensure: |
system_value: |
- :present |
value: |
system_value: |
- !ruby/string:Puppet::Util::Execution::ProcessOutput '1' |
permanent: |
system_value: |
- :false
|
sysctl module coming from : https://forge.puppet.com/modules/fiddyspence/sysctl uses :
module/sysctl/provider/sysctl/linux.rb: |
Puppet::Provider::Command.new(@name, @path, Puppet::Util, Puppet::Util::Execution, { :failonfail => true, :combine => false, :custom_environment => @custom_environment })
|
adding the class Puppet::Util::Execution::ProcessOutput in @allowed_classes in transaction/persistence.rb seems to fix the pb. |