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

crl_copy (1) Versions 0.1.1

Installs and configures the CRL Copy PowerShell script from Script Center

Policyfile
Berkshelf
Knife
cookbook 'crl_copy', '~> 0.1.1', :supermarket
cookbook 'crl_copy', '~> 0.1.1'
knife supermarket install crl_copy
knife supermarket download crl_copy
README
Dependencies
Changelog
Quality 33%

crl_copy

Chef cookbook to install and configure the CRL Copy PS script from Script Center.

Table of contents

  1. Requirements
  2. Usage
  3. Attributes
  4. Recipes
  5. Versioning
  6. License and Author
  7. Contributing

Requirements

Platforms

This cookbook supports:

  • Windows

Cookbooks

This cookbook depends on the following cookbooks:

  • pspki

Usage

TODO: Explain how to use the cookbook

Attributes

Attributes in this cookbook:

Key Type Description Default
['crl_copy']['eventvwr']['event_id'] Int Configures the event ID 5000
['crl_copy']['eventvwr']['event_source'] String Configures the event source CRL Copy Process
['crl_copy']['smtp']['from'] String Configures mail notification sender address nil
['crl_copy']['smtp']['published_notify'] String Configures whether to send published notification false
['crl_copy']['smtp']['send_mail'] String Configures whether to send mail notifications false
['crl_copy']['smtp']['server'] String Configures mail server to use nil
['crl_copy']['smtp']['threshold'] Int Configures threshold for mail notifications 2
['crl_copy']['smtp']['title'] String Configures mail notification subject CRL Copy Process Results
['crl_copy']['smtp']['to'] String Configures mail notification recipient addresses nil
['crl_copy']['warnings']['threshold'] Int Configures threshold value 5
['crl_copy']['warnings']['threshold_unit'] String Configures unit for threshold (one of "Days", "Hours", "Minutes" or "Seconds") Hours
['crl_copy']['windows_task']['frequency'] String Configures scheduled task frequency unit (one of "Monthly", "Weekly", "Daily", "Hourly" or "Minute") Minute
['crl_copy']['windows_task']['frequency_modifier'] Int Configures scheduled task frequency modifier 30
['crl_copy']['windows_task']['password'] String Configures a password for the scheduled task user nil
['crl_copy']['windows_task']['user'] String Configures the user to run the task as SYSTEM

Recipes

crl_copy::default

Simple recipe that creates crl_copy resources by iterating over the node['crl_copy']['master_crls'] attribute.

Resources

crl_copy

Actions

  • :create - Creates a scheduled task that runs the CRL Copy script to copy a CRL to a CDP

Properties

master_crl: String, required: true, name_property: true
cdps: [Array, Hash], required: true, default: nil
cluster_name: String, required: false, default: nil
outfile: [Array, String], required: false, default: nil

eventvwr_event_id: [Integer, String], required: false, default: lazy { node['crl_copy']['eventvwr']['event_id'] }
eventvwr_event_source: String, required: false, default: lazy { node['crl_copy']['eventvwr']['event_source'] }

smtp_from: String, required: false, default: lazy { node['crl_copy']['smtp']['from'] }
smtp_published_notify: [TrueClass, FalseClass], required: false, default: lazy { node['crl_copy']['smtp']['published_notify'] }
smtp_send_mail: [TrueClass, FalseClass], required: false, default: lazy { node['crl_copy']['smtp']['send_mail'] }
smtp_server: String, required: false, default: lazy { node['crl_copy']['smtp']['server'] }
smtp_threshold: [Integer, String], required: false, default: lazy { node['crl_copy']['smtp']['threshold'] }
smtp_title: String, required: false, default: lazy { node['crl_copy']['smtp']['title'] }
smtp_to: [Array, String], required: false, default: lazy { node['crl_copy']['smtp']['to'] }

warnings_threshold: [Integer, String], required: false, default: lazy { node['crl_copy']['warnings']['threshold'] }
warnings_threshold_unit: String, required: false, default: lazy { node['crl_copy']['warnings']['threshold_unit'] },regex:/^(Days|Hours|Minutes|Seconds)$/i

windows_task_frequency: String, required: false, default: lazy { node['crl_copy']['windows_task']['frequency'] },regex:/^(Monthly|Weekly|Daily|Hourly|Minute)$/i
windows_task_frequency_modifier: [Integer, String], required: false, default: lazy { node['crl_copy']['windows_task']['frequency_modifier'] }
windows_task_password: String, required: false, default: lazy { node['crl_copy']['windows_task']['password'] }
windows_task_user: String, required: false, default: lazy { node['crl_copy']['windows_task']['user'] }

Versioning

This cookbook uses Semantic Versioning 2.0.0.

Given a version number MAJOR.MINOR.PATCH, increment the:

  • MAJOR version when you make functional cookbook changes,
  • MINOR version when you add functionality in a backwards-compatible manner,
  • PATCH version when you make backwards-compatible bug fixes.

License and Authors

Authors and contributors:

Copyright 2016-2019 Stephen Hoekstra 
Copyright 2016-2019 Schuberg Philis

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.

Contributing

We welcome contributed improvements and bug fixes via the usual work flow:

  1. Fork this repository
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new pull request

Dependent cookbooks

pspki ~> 0.2.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

crl_copy CHANGELOG

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

0.1.1 (2019-01-14)

  • Updated for Chef 14 compatibility

0.1.0 (2018-11-09)

  • First release of crl_copy cookbook

Collaborator Number Metric
            

0.1.1 failed this metric

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

Contributing File Metric
            

0.1.1 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

Foodcritic Metric
            

0.1.1 passed this metric

No Binaries Metric
            

0.1.1 passed this metric

Testing File Metric
            

0.1.1 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
            

0.1.1 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