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

The windows_dfs cookbook has been deprecated

Author provided reason for deprecation:

The windows_dfs cookbook has been deprecated and is no longer being maintained by its authors. Use of the windows_dfs cookbook is no longer recommended.

RSS

windows_dfs (1) Versions 1.0.0

A Chef resource for managing DFS on Windows hosts

Policyfile
Berkshelf
Knife
cookbook 'windows_dfs', '~> 1.0.0', :supermarket
cookbook 'windows_dfs', '~> 1.0.0'
knife supermarket install windows_dfs
knife supermarket download windows_dfs
README
Dependencies
Changelog
Quality 17%

windows_dfs Cookbook

Cookbook Version
Build statusCookbook Version

This cookbook provides a resource for managing DFS on Windows hosts.

Requirements

Platforms

  • Windows Server 2012R2
  • Windows Server 2016

Chef

  • Chef 13.4+

Resources

windows_dfs_server

Sets the server configuration for dfs

### Actions

  • configure : Configures dfs with the specified settings

Properties

  • use_fqdn : Indicates whether a DFS namespace server uses FQDNs in referrals. If this parameter has a value of true, the server uses FQDNs in referrals. If this parameter has a value of false, the server uses NetBIOS names. Defaults to false

windows_dfs_folder

Creates a folder within dfs as many levels deep as required

### Actions

  • :install : Creates the folder in dfs namespace
  • :remove : Deletes the folder in the dfs namespace

### Properties

  • folder_path : This is the path of the folder to create
  • namespace_name : The namespace this should be created within
  • target_path : The target that this path will connect you to
  • description : Description for the share

Example

windows_dfs_folder "Some\\Nested\\Path" do
      description "Link to MyServer share MyShare"
      namespace_name 'prodshare'
      target_path "\\\\server\\target_share\\Some\\Nested\\Path"
      action :install
end
windows_dfs_folder "Some\\Nested\\Path" do
      namespace_name 'prodshare'
      action :remove
end

windows_dfs_namespace

Creates a dfs namespace on the local server, permissions are set the same as a windows share.

### Actions

  • :install : Creates the dfs namespace on the server

### Properties

  • namespace_name : The name of the namespace to create
  • description : Friendly description for windows to show
  • root : The root from which to create the DFS tree, defaults to C:\DFSRoots
  • full_users : Which users should have full access to the share
  • change_users : Which users should have change access to the share
  • read_users : Which users should have read access to the share
windows_dfs_namespace 'prodshare' do
  description 'Used to easily access shares on other servers'
  action :install
  full_users 'localhost\\users'

License

Copyright 2018, Calastone Ltd.
Copyright 2018, Chef Software, 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 >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

CHANGELOG for windows_dfs

This file is used to list changes made in each version of windows_dfs.

1.0.0 (2018-12-28)

  • Initial release

Collaborator Number Metric
            

1.0.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

1.0.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Cookstyle Metric
            

1.0.0 failed this metric

Chef/Deprecations/ResourceWithoutUnifiedTrue: Set `unified_mode true` in Chef Infra Client 15.3+ custom resources to ensure they work correctly in Chef Infra Client 18 (April 2022) when Unified Mode becomes the default. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourcewithoutunifiedtrue): windows_dfs/resources/folder.rb: 1
Chef/Deprecations/ResourceWithoutUnifiedTrue: Set `unified_mode true` in Chef Infra Client 15.3+ custom resources to ensure they work correctly in Chef Infra Client 18 (April 2022) when Unified Mode becomes the default. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourcewithoutunifiedtrue): windows_dfs/resources/namespace.rb: 1
Chef/Deprecations/ResourceWithoutUnifiedTrue: Set `unified_mode true` in Chef Infra Client 15.3+ custom resources to ensure they work correctly in Chef Infra Client 18 (April 2022) when Unified Mode becomes the default. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourcewithoutunifiedtrue): windows_dfs/resources/server.rb: 1
Chef/RedundantCode/LongDescriptionMetadata: The long_description metadata.rb method is not used and is unnecessary in cookbooks. (https://docs.chef.io/workstation/cookstyle/chef_redundantcode_longdescriptionmetadata): windows_dfs/metadata.rb: 6

Run with Cookstyle Version 7.32.1 with cops Chef/Deprecations,Chef/Correctness,Chef/Sharing,Chef/RedundantCode,Chef/Modernize,Chef/Security,InSpec/Deprecations

No Binaries Metric
            

1.0.0 passed this metric

Testing File Metric
            

1.0.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

1.0.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number