Skip to content

Instantly share code, notes, and snippets.

@jhoblitt
Created August 27, 2013 21:48
Show Gist options
  • Save jhoblitt/6359620 to your computer and use it in GitHub Desktop.
Save jhoblitt/6359620 to your computer and use it in GitHub Desktop.
old version of puppetlabs-postgresql that causes puppet 3.2.2 --parser future to fail but not under puppet 3.1.1
[jhoblitt@ctrl postgresql]$ git checkout 5e47aff57ab17946b624be8e8196726c9639acb0
Note: checking out '5e47aff57ab17946b624be8e8196726c9639acb0'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at 5e47aff... Merge pull request #94 from puppetlabs-operations/wheezy_7_0_default_version
[jhoblitt@ctrl postgresql]$ cd ..
[jhoblitt@ctrl test]$ ./load_the_world.rb --modulepath=/home/jhoblitt/tmp/test/ --parser future
user system total real
require 0.340000 0.080000 0.420000 ( 0.429015)
init 0.010000 0.000000 0.010000 ( 0.013398)
import/usr/lib/ruby/site_ruby/1.8/puppet/parser/e_parser_adapter.rb:95:in `validate': Illegal attempt to assign via [index/key]. Not an assignable reference at /home/jhoblitt/tmp/test/postgresql/manifests/server.pp:33:3 (Puppet::ParseError)
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/e_parser_adapter.rb:38:in `parse'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/type_loader.rb:144:in `parse_file'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/type_loader.rb:91:in `import'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/type_loader.rb:53:in `do_once'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/type_loader.rb:90:in `import'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/type_loader.rb:86:in `each'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/type_loader.rb:86:in `import'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/type_loader.rb:106:in `import_all'
from /usr/lib/ruby/1.8/find.rb:39:in `find'
from /usr/lib/ruby/1.8/find.rb:38:in `catch'
from /usr/lib/ruby/1.8/find.rb:38:in `find'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/type_loader.rb:104:in `import_all'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/type_loader.rb:103:in `each'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/type_loader.rb:103:in `import_all'
from ./load_the_world.rb:10
from /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
from /usr/lib/ruby/1.8/benchmark.rb:380:in `report'
from ./load_the_world.rb:10
from /usr/lib/ruby/1.8/benchmark.rb:177:in `benchmark'
from /usr/lib/ruby/1.8/benchmark.rb:207:in `bm'
from ./load_the_world.rb:4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment