Skip to content

Latest commit

 

History

History
127 lines (69 loc) · 2.88 KB

REFERENCE.md

File metadata and controls

127 lines (69 loc) · 2.88 KB

Reference

Table of Contents

Classes

Private Classes

  • dotnet::params: This class is meant to be called from dotnet. It sets variables according to platform.

Defined types

Defined types

dotnet

Module to install the Microsoft .NET framework on Windows.

Examples

Installing .NET 4.5
dotnet { 'dotnet45':
  version => '4.5',
}

Parameters

The following parameters are available in the dotnet defined type:

version

Data type: Pattern[/^(3.5|4\.0|4\.5(\.\d)?)$/]

The version of .NET to be managed.

ensure

Data type: Enum['present', 'absent']

Control the state of the .NET installation.

Default value: 'present'

package_dir

Data type: Any

If installing .NET from a directory or a mounted network location then this is that directory.

Default value: ''

dotnet::install::feature

Installs dotnet as Windows feature (.net 3.5)

Parameters

The following parameters are available in the dotnet::install::feature defined type:

ensure

Data type: Any

Control the state of the .NET installation.

Default value: 'present'

version

Data type: Any

The version of .NET to be managed.

Default value: ''

dotnet::install::package

Installs dotnet from a downloaded package.

Parameters

The following parameters are available in the dotnet::install::package defined type:

ensure

Data type: Any

Control the state of the .NET installation.

Default value: 'present'

version

Data type: Any

The version of .NET to be managed.

Default value: ''

package_dir

Data type: Any

If installing .NET from a directory or a mounted network location then this is that directory.

Default value: ''