-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
57 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
packer-provisioner-windows-update* | ||
packer-provisioner-windows-update | ||
packer-provisioner-windows-update.exe | ||
packer-provisioner-windows-update-*.tgz | ||
packer-provisioner-windows-update-*.zip | ||
tmp* | ||
bindata.go | ||
.idea/ |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.3.0 |
22 changes: 22 additions & 0 deletions
22
package-chocolatey/packer-provisioner-windows-update.nuspec
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0"?> | ||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | ||
<metadata> | ||
<id>packer-provisioner-windows-update</id> | ||
<version>@@VERSION@@</version> | ||
<title>Packer Windows Update Provisioner</title> | ||
<authors>Rui Lopes</authors> | ||
<owners>Rui Lopes</owners> | ||
<licenseUrl>https://github.com/rgl/packer-provisioner-windows-update/blob/master/LICENSE.txt</licenseUrl> | ||
<packageSourceUrl>https://github.com/rgl/packer-provisioner-windows-update</packageSourceUrl> | ||
<projectUrl>https://github.com/rgl/packer-provisioner-windows-update</projectUrl> | ||
<projectSourceUrl>https://github.com/rgl/packer-provisioner-windows-update</projectSourceUrl> | ||
<bugTrackerUrl>https://github.com/rgl/packer-provisioner-windows-update/issues</bugTrackerUrl> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<description>A Packer plugin for installing Windows updates.</description> | ||
<summary>A Packer plugin for installing Windows updates.</summary> | ||
<tags>packer windows-update</tags> | ||
</metadata> | ||
<files> | ||
<file src="tools\*" target="tools" /> | ||
</files> | ||
</package> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Install-ChocolateyZipPackage ` | ||
'packer-provisioner-windows-update' ` | ||
'https://github.com/rgl/packer-provisioner-windows-update/releases/download/v@@VERSION@@/packer-provisioner-windows-update-windows.zip' ` | ||
"$env:APPDATA\packer.d\plugins" ` | ||
-Checksum '@@CHECKSUM@@' ` | ||
-ChecksumType 'sha256' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
$pluginExe = "$env:APPDATA\packer.d\plugins\packer-provisioner-windows-update.exe" | ||
|
||
if (Test-Path $pluginExe) { | ||
Remove-Item $pluginExe | ||
} |