I'm a noob.  I'm wondering if I'm doing something fundamentally wrong and 
am looking for some debugging advise.

I get an error that the exec command failed because it returned 1 instead 
of 0 but when I copy the command puppet outputs as an error, and paste that 
into a shell it works perfectly.  The command's syntax is this: 

/usr/bin/mysql -uroot -ppass < /path/to/sqlfile.sql # obviously not exactly 
the same 

an exit code of 1 is "Operation not permitted" 

I have temporarily disabled selinux.  puppet can create files owned by root 
in directories that only root can create them, so it shouldn't be a 
permissions problem.

Any ideas are very welcome. 


Marc 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/b96tqPryPG4J.
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-users?hl=en.

Reply via email to