Sha256: 2bd4dcc5c4308184a46f4d8fd8835c3b7e1acb93ff57a10cb547fa95433e282e

Contents?: true

Size: 667 Bytes

Versions: 2

Compression:

Stored size: 667 Bytes

Contents

#
class profile::windows::webserver {
  # Install the IIS role
  dsc_windowsfeature { 'IIS':
    dsc_ensure => 'present',
    dsc_name   => 'Web-Server',
  }

  dsc_windowsfeature { 'IIS Console':
    dsc_ensure => 'present',
    dsc_name   => 'Web-Mgmt-Console',
  }

  # Install the ASP .NET 4.5 role
  dsc_windowsfeature { 'AspNet45':
    dsc_ensure => 'present',
    dsc_name   => 'Web-Asp-Net45',
  }

  # Stop an existing website (set up in Sample_xWebsite_Default)
  dsc_xwebsite { 'Stop DefaultSite':
    dsc_ensure => 'present',
    dsc_name   => 'Default Web Site',
    dsc_state  => 'Stopped',
    require    => Dsc_windowsfeature['IIS','AspNet45'],
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
onceover-4.0.0 spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/windows/webserver.pp
onceover-3.22.0 spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/windows/webserver.pp