Skip to content

Commit

Permalink
fixes an incompatibility with newer puppet versions
Browse files Browse the repository at this point in the history
changed deprecated --parseonly  to puppet parser validate
  • Loading branch information
jakob-stoeck committed Mar 15, 2012
1 parent dbdbd0b commit c951924
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Commands/Validate Syntax (puppetparse).tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<key>command</key>
<string>#!/usr/bin/env ruby
require ENV['TM_SUPPORT_PATH'] + '/lib/textmate'
puts "&lt;p&gt;Running syntax check&amp;hellip;&lt;/p&gt;\n"
result = `puppet --color=false --confdir=/tmp/puppet --vardir=/tmp/puppet --parseonly $TM_FILEPATH`
puts "&lt;p&gt;Running syntax check &amp;hellip;&lt;/p&gt;\n"
result = `puppet parser validate --color=false --confdir=/tmp/puppet --vardir=/tmp/puppet $TM_FILEPATH`
puts "&lt;pre&gt;"
puts result
puts "&lt;/pre&gt;"
Expand Down

0 comments on commit c951924

Please sign in to comment.