Skip to content

Conversation

@gwaldo
Copy link
Contributor

@gwaldo gwaldo commented Oct 17, 2012

Installs Strawberry Perl on Windows boxen and adds to the system's PATH env-var. (It prepends PATH so that it comes before perl.exe included in the Windows Chef installer.

I have reached out to the Strawberry Perl team to ask for a persistent link for $LATEST-minversion-$BITNESS, or at least $LATEST-$BITNESS, but I've gotten no response yet.

gwaldo added 20 commits October 12, 2012 09:37
adding some handlers for installing Strawberry Perl on Windows

escaping backslashes is important

missing 'do' keywords

changing :create_if_missing to :create; apparently that's been deprecated...

adding owner, group, and mode. They're in Unix-talk, but hopefully it'll get chef to stop complaining

removing a single. damn. period.

confirmed that perl gets installed in Windows, but ignored the install location parameter.

adding the proper flag to install to the specified directory, and prepending the new dir to the PATH

adding PATH statement to the install block

closing quotes

fixing the path again.  Use the right directory delimiter.

using setx instead of set. May be problems due to required/escaped quotes

backslashes for Windows paths...

Moving the path modifier to a separate action, and trying the windows_path primitive

fixing paths and going back to my prepend method

I was missing a 'do'

updating metadata and readme after completing install of Strawberry Perl on Windows.
Using the Windows TEMP envvar for file storage (if it exists), and added recursive directory creation.
jtimberman pushed a commit that referenced this pull request Dec 4, 2012
Adding Windows support to the Perl cookbook (COOK-1765)
@jtimberman jtimberman merged commit 9b5872d into sous-chefs:master Dec 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants