Created
September 26, 2013 21:42
-
-
Save johnmccabe/6721007 to your computer and use it in GitHub Desktop.
stdlib delete behaviour?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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