All Projects → acornies → Dotnetcore Cookbook

acornies / Dotnetcore Cookbook

Licence: apache-2.0
Chef cookbook for managing .NET Core (http://dotnet.github.io/) installation and applications on all supported platforms.

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Dotnetcore Cookbook

Redisio
Development repository for the redisio cookbook
Stars: ✭ 296 (+3188.89%)
Mutual labels:  chef, chef-cookbook
Chef Crowd
Chef cookbook to install Atlassian Crowd
Stars: ✭ 5 (-44.44%)
Mutual labels:  chef, chef-cookbook
Postgresql
Development repository for the postgresql cookbook
Stars: ✭ 326 (+3522.22%)
Mutual labels:  chef, chef-cookbook
reprepro
Development repository for the reprepro cookbook
Stars: ✭ 11 (+22.22%)
Mutual labels:  chef-cookbook, chef
Jenkins
Development repository for the jenkins cookbook
Stars: ✭ 416 (+4522.22%)
Mutual labels:  chef, chef-cookbook
vagrant
Development repository for the vagrant cookbook
Stars: ✭ 54 (+500%)
Mutual labels:  chef-cookbook, chef
Ruby rbenv
Development repository for the ruby_rbenv cookbook
Stars: ✭ 339 (+3666.67%)
Mutual labels:  chef, chef-cookbook
certificate
Development repository for the certificate cookbook
Stars: ✭ 71 (+688.89%)
Mutual labels:  chef-cookbook, chef
Chef Os Hardening
This chef cookbook provides numerous security-related configurations, providing all-round base protection.
Stars: ✭ 386 (+4188.89%)
Mutual labels:  chef, chef-cookbook
Java
Development repository for the java cookbook
Stars: ✭ 365 (+3955.56%)
Mutual labels:  chef, chef-cookbook
maven
Development repository for the maven cookbook
Stars: ✭ 35 (+288.89%)
Mutual labels:  chef-cookbook, chef
Rvm
Development repository for the rvm cookbook
Stars: ✭ 525 (+5733.33%)
Mutual labels:  chef, chef-cookbook
capsulecd
Continuous Delivery for automating package releases (npm, cookbooks, gems, pip, jars, etc)
Stars: ✭ 96 (+966.67%)
Mutual labels:  chef-cookbook, chef
Apache2
Development repository for the apache2 cookbook
Stars: ✭ 262 (+2811.11%)
Mutual labels:  chef, chef-cookbook
passenger apache2
Development repository for the passenger_apache2 cookbook
Stars: ✭ 37 (+311.11%)
Mutual labels:  chef-cookbook, chef
Mysql
Sous Chefs MySQL Cookbook
Stars: ✭ 325 (+3511.11%)
Mutual labels:  chef, chef-cookbook
elixir
Development repository for the elixir cookbook
Stars: ✭ 16 (+77.78%)
Mutual labels:  chef-cookbook, chef
postfix
Development repository for the postfix cookbook
Stars: ✭ 102 (+1033.33%)
Mutual labels:  chef-cookbook, chef
Php
Development repository for the php cookbook
Stars: ✭ 347 (+3755.56%)
Mutual labels:  chef, chef-cookbook
Aws
Development repository for the aws cookbook
Stars: ✭ 473 (+5155.56%)
Mutual labels:  chef, chef-cookbook

dotnetcore-cookbook

A Chef cookbook for managing .NET Core (http://dotnet.github.io/) installation and applications on all supported platforms. Simply include recipe[dotnetcore] in your runlist to utilize the dotnet resource provider. This cookbook is in it's early stages and will try to keep up with the pace of .NET Core development.

Supported Platforms

  • Ubuntu 16.04
  • Ubuntu 14.04
  • Centos 7.1
  • Oracle 7.1
  • Redhat 7.1
  • Amazon
  • Windows Server 2012 R2

Attributes

Key Type Description Default
['dotnetcore']['package']['name'] String The apt-get package name for Debian/Ubuntu. See default.rb
['dotnetcore']['package']['version'] String The apt-get package version for Debian/Ubuntu. See default.rb
['dotnetcore']['package']['source_url'] String An absolute URL for the .NET Core Windows MSI installer See default.rb
['dotnetcore']['package']['tar'] String An absolute URL for the RHEL family tar file See default.rb
['dotnetcore']['apt_package_source'] String The apt-get package source repository server See default.rb

Usage

dotnetcore::default

Include dotnetcore in your node's run_list:

{
  "run_list": [
    "recipe[dotnetcore::default]"
  ]
}

Resource/Provider

###dotnet Used for restoring package dependencies, compilation, and running your application.

dotnet 'test' do
  action :run
  nuget_config_file "#{app_dir}/NuGet.Config"
  path app_dir
  user 'root'
  cwd app_dir
end

By default, the dotnet resource will restore nuget packages from the nuget_config_file parameter. If no parameter is given, the current directory is used from cwd. This can be overidden by adding restore false as an additional parameter.

Additionaly, dotnet restore can be run on it's own by using action :restore as a parameter with the dotnet resource.

dotnet 'test' do
  action :restore
  nuget_config_file "#{app_dir}/NuGet.Config"
  user 'root'
  cwd app_dir
end

Development

This cookbook uses test-kitchen and Serverspec/RSpec with the Vagrant driver. For local Windows testing, please follow this blog post to create and add a local Vagrant Windows (Server 2012 R2) box.

License and Authors

Author:: Andrew Cornies ([email protected])

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].