Skip to content

Instantly share code, notes, and snippets.

@joshcooper
Created November 2, 2018 17:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshcooper/54bffd95463ae4955cd207b9fc94174f to your computer and use it in GitHub Desktop.
Save joshcooper/54bffd95463ae4955cd207b9fc94174f to your computer and use it in GitHub Desktop.
$ bx puppet --version
5.5.7
$ bx puppet apply --modulepath=/etc/puppetlabs/code/environments/development -e "notice(mysql::deepmerge({'one' => 1}, {'two' => 2}))"
Error: Evaluation Error: Unknown function: 'mysql::deepmerge'. (line: 1, column: 8) on node localhost
$ bx puppet apply --modulepath=/etc/puppetlabs/code/environments/development -e "notice(mysql::deepmerge({'one' => 1}, {'two' => 2}))" --environment development
Error: Evaluation Error: Unknown function: 'mysql::deepmerge'. (line: 1, column: 8) on node localhost
$ bx puppet apply -e "notice(mysql::deepmerge({'one' => 1}, {'two' => 2}))" --environment development
Notice: Scope(Class[main]): {one => 1, two => 2}
Notice: Compiled catalog for localhost in environment development in 0.02 seconds
Notice: Applied catalog in 0.01 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment