Hi,
 
I am having an issue with exc statement. running through non-root user.
 
*Error: Failed to apply catalog: Parameter user failed on Exec[extract 
p17071663_1036_Generic.zip]: Only root can execute commands as other users 
at 
/etc/puppetlabs/puppet/environments/testing/modules/wls/manifests/bsupatch.pp*
 
 
*Let me know how to exec through non root user*
 
 
*my code is:*
 





*exec { "extract ${patchFile}":    113             command => "unzip -n 
${puppetDownloadMntPoint}/${patchFile}         -d 
${mdwHome}/utils/bsu/cache_dir",    114             user   => 
"puppet-admin",    115             creates => 
"${mdwHome}/utils/bsu/cache_dir/${patchId}.jar",    116             before  
=> Bsu_patch[$patchId], Help me*

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/8e97c526-2826-460d-8ea4-98db897a9f18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to