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

yacc (30) Versions 0.9.0

YACC (Yet Another Chocolatey Cookbook), Manages many chocolatey packages through attributes.

Policyfile
Berkshelf
Knife
cookbook 'yacc', '~> 0.9.0', :supermarket
cookbook 'yacc', '~> 0.9.0'
knife supermarket install yacc
knife supermarket download yacc
README
Dependencies
Quality 50%

YACC (Yet Another Chocolatey Cookbook)

Manages chocolatey packages through attributes.

Requirements

Depends

Platforms

  • Windows

Chef

  • Chef 12.0 or later

Attributes

Choco Free Features

Set the chocolatey default sources:

Default:
json
{
"chocolatey": {
"source": "https://chocolatey.org/api/v2/",
"action": "present",
"priority": 0
}
}

Example:

{
  "yacc" : {
    "default_sources" : {
      "private": {
        "source": "https://repo.private.com/api/v2/",
        "action": "present",
        "user": "some_user",
        "password": "some_password",
        "priority": 1
      },
      "private2": {
        "source": "https://repo2.private.com/api/v2/",
        "action": "disabled",
        "priority": 99
      },
      "private3": {
        "source": "https://repo3.private.com/api/v2/",
        "action": "absent",
        "priority": 100
      },
      "chocolatey": {
        "source": "https://chocolatey.org/api/v2/",
        "action": "present",
        "priority": 0
      }
    }
  }
}

Set config options(Default: {}):

Valid actions: set|unset

Example:

{
  "yacc" : {
    "config" : {
      "cacheLocation": {
        "action": "set",
        "value": "C:\\tmp"
      }
    }
  }
}

Determine if failures should be ignored(Default: false):

{
  "yacc" : {
    "ignore_failure" : true
  }
}

Global install options that will be run with each choco install (Default: {})

{
  "yacc" : {
    "install_options" : [
      "--cachelocation C:\\tmp"
    ]
  }
}

Define packages:

{
  "yacc" : {
    "packages" : {
      "googlechrome": {
        "action": "56.0.2924.76",
        "install_options": [
          "--ignorechecksum",
          "--allow-downgrade"
        ]
      },
      "firefox": {
        "action": "upgrade"
      },
      "chocolateygui": {
        "action": "purge"
      }
    }
  }
}

The action field follows the same actions as this documentation, it also can take a version number.

Choco Business Features

Synchronize all installed software with Chocolatey (** requires Chocolatey for Business **):

(Default: false)

{
  "yacc" : {
    "business" : {
      "synchronize": true
    }
  }
}

Uninstall arbitrary software from programs and features (** requires Chocolatey for Business **):

{
  "yacc" : {
    "business" : {
      "uninstall_from_programs": [
        "NSClient++ (x64)",
        "Puppet *"
      ]
    }
  }
}

Optimize the Choco packages and the cache by removing unused files and reducing package file sizes (** requires Chocolatey for Business **):

(Default: false)

{
  "yacc" : {
    "business" : {
      "optimize": true
    }
  }
}

Usage

yacc::default

Just include yacc in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[yacc]"
  ]
}

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.9.0 failed this metric

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

Contributing File Metric
            

0.9.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

Foodcritic Metric
            

0.9.0 passed this metric

No Binaries Metric
            

0.9.0 passed this metric

Testing File Metric
            

0.9.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
            

0.9.0 passed this metric