A workaround I’m using is the tee command as follo...
# puppet
p
A workaround I’m using is the tee command as follows:
Copy code
exec { 'dspace_bootstrap':
      command => "/opt/bootstrap/dspace_bootstrap.sh | tee /tmp/dspace_bootstrap.log",
      onlyif  => '/bin/test ! -f /opt/bootstrap/.dspace_bootstrap.done',
      timeout => '600',
    }