Skip to content

Instantly share code, notes, and snippets.

@alexjfisher
Last active August 29, 2015 14:23
Show Gist options
  • Save alexjfisher/615bbd128de1efc6d304 to your computer and use it in GitHub Desktop.
Save alexjfisher/615bbd128de1efc6d304 to your computer and use it in GitHub Desktop.
test2@alex-VirtualBox:~/test$ PUPPET_GEM_VERSION=3.7.5 bundle update
Fetching gem metadata from https://rubygems.org/...........
Resolving dependencies...
Using CFPropertyList 2.2.8
Using facter 2.4.4
Using json_pure 1.8.2
Using hiera 1.3.4 (was 2.0.0)
Using puppet 3.7.5 (was 4.1.0)
Using bundler 1.7.6
Your bundle is updated!
test2@alex-VirtualBox:~/test$ PUPPET_GEM_VERSION=3.7.5 bundle exec puppet --version
3.7.5
test2@alex-VirtualBox:~/test$ PUPPET_GEM_VERSION=3.7.5 bundle exec puppet apply --test test.pp
Notice: Compiled catalog for alex-virtualbox.example.com in environment production in 0.01 seconds
Info: Applying configuration version '1435067093'
Notice: a.b
Notice: /Stage[main]/Main/Notify[a.b]/message: defined 'message' as 'a.b'
Notice: Finished catalog run in 0.02 seconds
test2@alex-VirtualBox:~/test$ PUPPET_GEM_VERSION=3.7.5 bundle exec puppet apply --parser=future --test test.pp
Notice: Compiled catalog for alex-virtualbox.example.com in environment production in 0.40 seconds
Info: Applying configuration version '1435067107'
Notice: _.m
Notice: /Stage[main]/Main/Notify[_.m]/message: defined 'message' as '_.m'
Notice: Finished catalog run in 0.02 seconds
test2@alex-VirtualBox:~/test$ PUPPET_GEM_VERSION=4.1 bundle update
Fetching gem metadata from https://rubygems.org/...........
Resolving dependencies...
Using CFPropertyList 2.2.8
Using facter 2.4.4
Using json_pure 1.8.2
Using hiera 2.0.0 (was 1.3.4)
Using puppet 4.1.0 (was 3.7.5)
Using bundler 1.7.6
Your bundle is updated!
test2@alex-VirtualBox:~/test$ PUPPET_GEM_VERSION=4.1 bundle exec puppet --version
4.1.0
test2@alex-VirtualBox:~/test$ PUPPET_GEM_VERSION=4.1 bundle exec puppet apply --test test.pp
Notice: Compiled catalog for alex-virtualbox.example.com in environment production in 0.38 seconds
Info: Applying configuration version '1435067145'
Notice: a.b
Notice: /Stage[main]/Main/Notify[a.b]/message: defined 'message' as 'a.b'
Notice: Applied catalog in 0.02 seconds
test2@alex-VirtualBox:~/test$ cat test.pp
$_my_array = ['a','b','c']
notify{"${_my_array[0]}.${_my_array[1]}":}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment