Skip to content

Commit 6c84388

Browse files
author
Henry Buckle
committed
update docs
1 parent 2ce4869 commit 6c84388

File tree

2 files changed

+26
-55
lines changed

2 files changed

+26
-55
lines changed

README.md

+25-55
Original file line numberDiff line numberDiff line change
@@ -4,80 +4,50 @@
44

55
1. [Description](#description)
66
1. [Setup - The basics of getting started with powershellmodule](#setup)
7-
* [What powershellmodule affects](#what-powershellmodule-affects)
87
* [Setup requirements](#setup-requirements)
9-
* [Beginning with powershellmodule](#beginning-with-powershellmodule)
108
1. [Usage - Configuration options and additional functionality](#usage)
11-
1. [Reference - An under-the-hood peek at what the module is doing and how](#reference)
129
1. [Limitations - OS compatibility, etc.](#limitations)
1310
1. [Development - Guide for contributing to the module](#development)
1411

1512
## Description
1613

17-
Start with a one- or two-sentence summary of what the module does and/or what
18-
problem it solves. This is your 30-second elevator pitch for your module.
19-
Consider including OS/Puppet version it works with.
20-
21-
You can give more descriptive information in a second paragraph. This paragraph
22-
should answer the questions: "What does this module *do*?" and "Why would I use
23-
it?" If your module has a range of functionality (installation, configuration,
24-
management, etc.), this is the time to mention it.
14+
This module adds a new type and provider for registering PowerShell repositories
15+
and a new package provider for installing PowerShell modules.
2516

2617
## Setup
2718

28-
### What powershellmodule affects **OPTIONAL**
29-
30-
If it's obvious what your module touches, you can skip this section. For
31-
example, folks can probably figure out that your mysql_instance module affects
32-
their MySQL instances.
33-
34-
If there's more that they should know about, though, this is the place to mention:
35-
36-
* A list of files, packages, services, or operations that the module will alter,
37-
impact, or execute.
38-
* Dependencies that your module automatically installs.
39-
* Warnings or other important notices.
40-
41-
### Setup Requirements **OPTIONAL**
42-
43-
If your module requires anything extra before setting up (pluginsync enabled,
44-
etc.), mention it here.
19+
### Setup Requirements
4520

46-
If your most recent release breaks compatibility or requires particular steps
47-
for upgrading, you might want to include an additional "Upgrading" section
48-
here.
21+
The PowerShellGet PowerShell module must be installed as well as the NuGet package
22+
provider. PowerShellGet is included with WMF5 or can be installed for earlier
23+
versions here http://go.microsoft.com/fwlink/?LinkID=746217&clcid=0x409
24+
NuGet can be installed by running
25+
Install-PackageProvider Nuget –Force
4926

5027
### Beginning with powershellmodule
5128

52-
The very basic steps needed for a user to get the module up and running. This
53-
can include setup steps, if necessary, or it can be an example of the most
54-
basic use of the module.
55-
5629
## Usage
5730

58-
This section is where you describe how to customize, configure, and do the
59-
fancy stuff with your module here. It's especially helpful if you include usage
60-
examples and code samples for doing things with your module.
61-
62-
## Reference
63-
64-
Here, include a complete list of your module's classes, types, providers,
65-
facts, along with the parameters for each. Users refer to this section (thus
66-
the name "Reference") to find specific details; most users don't read it per
67-
se.
31+
~~~ puppet
32+
psrepository { 'my-internal-repo':
33+
source_location => 'http://myrepo.corp.com/api/nuget/powershell',
34+
installation_policy => trusted,
35+
}
36+
~~~
37+
38+
~~~ puppet
39+
package { 'pester':
40+
ensure => '4.0.3',
41+
source => 'PSGallery',
42+
provider => 'psmodule',
43+
}
44+
~~~
6845

6946
## Limitations
7047

71-
This is where you list OS compatibility, version compatibility, etc. If there
72-
are Known Issues, you might want to include them under their own heading here.
48+
Note that PowerShell modules can be installed side by side so installing a newer
49+
version of a module will not remove any previous versions.
7350

7451
## Development
7552

76-
Since your module is awesome, other users will want to play with it. Let them
77-
know what the ground rules for contributing are.
78-
79-
## Release Notes/Contributors/Etc. **Optional**
80-
81-
If you aren't using changelog, put your release notes here (though you should
82-
consider using changelog). You can also add any additional sections you feel
83-
are necessary or important to include here. Please use the `## ` header.
53+
https://github.com/hbuckle/puppet-powershellmodule

metadata.json

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"Server 2008 R2",
1717
"Server 2012",
1818
"Server 2012 R2",
19+
"Server 2016",
1920
"7",
2021
"8.1",
2122
"10"

0 commit comments

Comments
 (0)