cookbook 'services', '~> 0.2.0'
services (1) Versions 0.2.0 Follow2
Installs/Configures services
cookbook 'services', '~> 0.2.0', :supermarket
knife supermarket install services
knife supermarket download services
Description
lets you preform a variety of actions on many services easily
Requirements
None
Attributes
node.services = { }
Usage
node.services = { "service_name": [ "enable" ], "another_service": [ "disable", "stop" ], "service_name_2": ["restart"] }
Note setting service_name_2 to "restart" could cause a service to flap each time chef runs
Expected usage might look like this:
"services": {
"acpid": ["stop", "disable"],
"atd": ["stop", "disable"],
"autofs": ["stop", "disable"],
"bluetooth": ["stop", "disable"],
"cpuspeed": ["stop", "disable"],
"cups": ["stop", "disable"],
"firstboot": ["stop", "disable"],
"gpm": ["stop", "disable"],
"haldaemon": ["stop", "disable"],
"hidd": ["stop", "disable"],
"mdmonitor": ["stop", "disable"],
"pcscd": ["stop", "disable"],
"rawdevices": ["stop", "disable"],
"rpcgssd": ["stop", "disable"],
"rpcidmapd" : ["stop", "disable"],
"smartd": ["stop", "disable"]
}
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.2.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.2.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.2.0 failed this metric
FC064: Ensure issues_url is set in metadata: services/metadata.rb:1
FC065: Ensure source_url is set in metadata: services/metadata.rb:1
FC066: Ensure chef_version is set in metadata: services/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: services/metadata.rb:1
FC069: Ensure standardized license defined in metadata: services/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.0 passed this metric
Testing File Metric
0.2.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.2.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
0.2.0 failed this metric
0.2.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.2.0 failed this metric
FC064: Ensure issues_url is set in metadata: services/metadata.rb:1
FC065: Ensure source_url is set in metadata: services/metadata.rb:1
FC066: Ensure chef_version is set in metadata: services/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: services/metadata.rb:1
FC069: Ensure standardized license defined in metadata: services/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.0 passed this metric
Testing File Metric
0.2.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.2.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
0.2.0 failed this metric
FC065: Ensure source_url is set in metadata: services/metadata.rb:1
FC066: Ensure chef_version is set in metadata: services/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: services/metadata.rb:1
FC069: Ensure standardized license defined in metadata: services/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.2.0 passed this metric
Testing File Metric
0.2.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.2.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
0.2.0 failed this metric
0.2.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