-
-
Notifications
You must be signed in to change notification settings - Fork 3
POSHOrigin:POSHFile
Brandon Olin edited this page Jan 5, 2016
·
2 revisions
Example resource that manages a file and it's contents.
Name | Type | Required | Description |
---|---|---|---|
Name | string | True | Name of file to create |
Ensure | string | False | Denotes if resource should exist or not exist. |
Path | string | True | Path the file should exist in |
Contents | string | False | Contents of file |
resource 'POSHOrigin:POSHFile' 'file01' @{
name = 'file01.txt'
ensure = 'Present'
path = 'c:\'
contents = 'this is some content'
}
- Home
- Quickstart
- What is POSHOrigin?
- Setup / Initialization
- Configuration File
- Defaults File
- Loading Configurations
- Testing Configurations
- Executing Configurations
- Sharing Configurations
- Modules
- Credentials
- Using Secrets
- Using Resolvers