On Fri, Dec 14, 2012 at 2:00 AM, Jagga Soorma <jagg...@gmail.com> wrote:
> #!/bin/bash > > REPOS="$1" > TXN="$2" > tmpfile=$(mktemp) > export > PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin" > > for file in $(svnlook changed -t "$TXN" "$REPOS" | awk '/^[^D].*\.pp$/ > {print $2}') > do > svnlook cat -t $TXN $REPOS $file > $tmpfile > puppet parser validate $tmpfile &>/dev/null That '&' looks a little odd there. I think what you probably want is puppet parser validate $tmpfile >/dev/null 2>&1 However, while debugging your issue, I'd recommend capturing the output: puppet parser validate $tmpfile >/tmp/puppet-validation.log 2>&1 That should at least give you a hint as to what's going on...hopefully! Regards, Matt. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.