Puppet Class: active_directory::rsat_ad
- Defined in:
- manifests/rsat_ad.pp
Summary
A class to manage the Remote Server Administration ToolsOverview
active_directory::rsat_ad
A class to manage the Remote Server Administration Tools for Active Directory
include active_directory::rsat_ad
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'manifests/rsat_ad.pp', line 11
class active_directory::rsat_ad {
if !($facts['os']['family'] == 'windows' and $facts['os']['release']['major'] =~ /2012 R2|2016|2019/) {
fail("This class is for Windows 2012 R2, 2016 and 2019, not ${facts['os']['family']} and ${facts['os']['release']['major']}")
}
dsc_windowsfeature { 'rsat-adds':
dsc_ensure => present,
dsc_name => 'RSAT-ADDS',
}
dsc_windowsfeature { 'rsat-ad-tools':
dsc_ensure => present,
dsc_name => 'RSAT-AD-Tools',
}
dsc_windowsfeature { 'rsat-adds-tools':
dsc_ensure => present,
dsc_name => 'RSAT-ADDS-Tools',
}
}
|