Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

dsc2 (5) Versions 0.1.3

Installs dsc modules

Policyfile
Berkshelf
Knife
cookbook 'dsc2', '= 0.1.3', :supermarket
cookbook 'dsc2', '= 0.1.3'
knife supermarket install dsc2
knife supermarket download dsc2
README
Dependencies
Changelog
Quality 100%

dsc Cookbook

Install DSC Modules from powershellgallery.com

Requirements

Platforms (tested)

  • Windows Server 2012 (R2)

Chef

  • Chef 12.8.1+

Package

  • All tested platforms must have WMF 5.0 installed (DSCResource only works on Powershell >= 5.0 ) and .NET 4.6.1

Cookbooks

  • windows, ~> 1.39.2
  • powershell, ~> 3.2.3
  • ms_dotnet, ~> 2.6.1

Usage

dsc2::default

Add include_recipe dsc2::default in your recipe to make sure that WFM 5.0 and .NET 4.6.1 are installed.

Example

Example recipe that checks if PowerShell 5.0 and .NET 4.6.1 are installed first before running the dsc custom resource

chk_posh = powershell_out!("$PSVersionTable.PSVersion.Major -ge '5'")
chk_reg = powershell_out!('(Get-ItemProperty -Path Registry::\'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\').Release')

if !chk_posh.stdout.include?('True')
  include_recipe 'dsc2'
else
  Chef::Log.info('WFM 5.0 and .NET 4.6.1 or above are installed, skipping')
end

dsc 'OctopusProjectsDSC' do
  action :install
end

Contributing

  • Fork the repository on Github
  • Create a named feature branch (like add_component_x)
  • Write your change
  • Write tests for your change (if applicable)
  • Run the tests, ensuring they all pass
  • Submit a Pull Request using Github

License and Author(s)

Copyright:: 2016, Dimension Data Cloud Solutions, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

windows ~> 1.39.2
powershell ~> 3.2.3
ms_dotnet ~> 2.6.1

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Change Log

* This Change Log was automatically generated by github_changelog_generator

Foodcritic Metric
            

0.1.3 passed this metric