Hi is anybody using the svn pre-commit hook from http://www.reductivelabs.com/trac/puppet/wiki/VersionControlPuppet with 0.24.1 . It was working fine with 0.23.1 and I like it to test stupid typos before checking in. However after updating to 0.24.1 I get the following error for the site.pp: Could not parse for environment development: No file(s) found for import of ''classes/*.pp'' at /repository/tmp_svn/7426.pp:4 so it fails on the import statement. I did a workaorund by placing | grep -v site.pp in the script. However it would be nice to test as well site.pp file. Maybe it''s possible to tell the --parseonly to ignore imports or so? thanks and greets pete
Use --ignoreimport. Peter Meier wrote:> Hi > > is anybody using the svn pre-commit hook from > http://www.reductivelabs.com/trac/puppet/wiki/VersionControlPuppet with > 0.24.1 . It was working fine with 0.23.1 and I like it to test stupid > typos before checking in. > > However after updating to 0.24.1 I get the following error for the site.pp: > > Could not parse for environment development: No file(s) found for import > of ''classes/*.pp'' at /repository/tmp_svn/7426.pp:4 > > so it fails on the import statement. I did a workaorund by placing | > grep -v site.pp in the script. However it would be nice to test as well > site.pp file. > Maybe it''s possible to tell the --parseonly to ignore imports or so? > > thanks and greets pete > _______________________________________________ > Puppet-users mailing list > Puppet-users@madstop.com > https://mail.madstop.com/mailman/listinfo/puppet-users