forked from boxen/puppet-osx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(boxen#21) Throw error if recovery_message contains '
Previously, if you declared an `osx::recovery_message` resource that contained an apostrophe/single-quote ('), the exec used to set the recovery message would fail (because the exec references the message within single quotes). This commit will call the fail() function if a recovery_message contains an apostrophe and alert the user to the failure. The spec was also updated and worked for me in 1.8.7 and 1.9.3
- Loading branch information
Gary Larizza
committed
Jun 27, 2013
1 parent
f8ca939
commit e932901
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
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
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