Skip to content

Instantly share code, notes, and snippets.

@johnmccabe
Created September 26, 2013 21:42
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 johnmccabe/6721007 to your computer and use it in GitHub Desktop.
Save johnmccabe/6721007 to your computer and use it in GitHub Desktop.
stdlib delete behaviour?
[root@drone tests]# puppet apply j.pp
notice: Scope(Class[main]): testval is: blahblahblah-bin
notice: Finished catalog run in 0.42 seconds
I would have expected to see it return 'testval is: blahblahblah'
$testval = delete("blahblahblah-bin","-bin")
notice("testval is: ${testval}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment