forked from chocolatey-archive/puppet-chocolatey
-
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.
Merge pull request chocolatey-archive#77 from ferventcoder/ticket/mas…
…ter/MODULES-4562_use_original_choco (MODULES-4562) Use actual choco.exe
Showing
5 changed files
with
36 additions
and
36 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,23 +1,23 @@ | ||
# The baseline for module testing used by Puppet Labs is that each manifest | ||
# should have a corresponding test manifest that declares that class or defined | ||
# type. | ||
# | ||
# Tests are then run by using puppet apply --noop (to check for compilation errors | ||
# and view a log of events) or by fully applying the test in a virtual environment | ||
# (to compare the resulting system state to the desired state). | ||
# | ||
# Learn more about module testing here: http://docs.puppetlabs.com/guides/tests_smoke.html | ||
# | ||
# With symlinks on Windows, please run the following command an administrative command prompt (substituting the proper directories): | ||
|
||
package { $pkg: | ||
ensure => 'latest', | ||
provider => 'chocolatey', | ||
} | ||
|
||
# mklink /D C:\ProgramData\PuppetLabs\puppet\etc\modules\chocolatey C:\code\puppetlabs\puppetlabs-chocolatey | ||
# mklink /D C:\ProgramData\PuppetLabs\code\environments\production\modules\chocolatey C:\code\puppetlabs\puppetlabs-chocolatey | ||
|
||
chocolateysource { 'local': | ||
location => 'c:\packages', | ||
} | ||
# The baseline for module testing used by Puppet Labs is that each manifest | ||
# should have a corresponding test manifest that declares that class or defined | ||
# type. | ||
# | ||
# Tests are then run by using puppet apply --noop (to check for compilation errors | ||
# and view a log of events) or by fully applying the test in a virtual environment | ||
# (to compare the resulting system state to the desired state). | ||
# | ||
# Learn more about module testing here: http://docs.puppetlabs.com/guides/tests_smoke.html | ||
# | ||
# With symlinks on Windows, please run the following command an administrative command prompt (substituting the proper directories): | ||
|
||
package { $pkg: | ||
ensure => 'latest', | ||
provider => 'chocolatey', | ||
} | ||
|
||
# mklink /D C:\ProgramData\PuppetLabs\puppet\etc\modules\chocolatey C:\code\puppetlabs\puppetlabs-chocolatey | ||
# mklink /D C:\ProgramData\PuppetLabs\code\environments\production\modules\chocolatey C:\code\puppetlabs\puppetlabs-chocolatey | ||
|
||
chocolateysource { 'local': | ||
location => 'c:\packages', | ||
} |
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
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