cookbook 'client_bootstrap', '= 0.1.4'
client_bootstrap (2) Versions 0.1.4 Follow3
Bootstrap new Chef-Nodes
cookbook 'client_bootstrap', '= 0.1.4', :supermarket
knife supermarket install client_bootstrap
knife supermarket download client_bootstrap
Client Bootstap by Chef-Server
This Cookbook will helps you to Bootstrap new Nodes by recipe.
Platforms
- Windows
- Redhat
- Centos
- Fedora
Requirements
First of all you need an already bootstraped Linux Node with installed ChefDK.
Data Bags
You need to add the following DataBags:
- bootstrap
- sources
DataBag Item
In the DataBag sources you have to create a DataBag Item named bootstrapping with a download link for each platform you want to bootstrap.
DataBag Syntax example
{
"windows": "http://link2Chef-Client.msi",
"redhat": "http://link2Chef-client.rpm"
}
For each Node you want to bootstrap you have to create a DataBag Item
DataBag Syntax Windows
{
"platform": "windows",
"hostname": "HOSTNAME",
"fqdn": "FQDN",
"domain": "DomainName",
"user": "UserOnTheRemoteSystem",
"passwd": "yourpasswd",
"environment": "_default",
}
DataBag Syntax Linux
{
"platform": "redhat", # or centos or fedora
"hostname": "HOSTNAME",
"fqdn": "FQDN",
"domain": "DomainName",
"user": "UserOnTheRemoteSystem",
"passwd": "yourpasswd",
"environment": "_default",
}
Execute
Edit the runlist of your Linux Workstation Node ;) and add the chef_bootstrap cookbook.
The recipe will add a line (bootstraped = true) to the DataBag content after finishing.
License & Authors
Author:
Frederik
License
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
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.1.4 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.4 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 http://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.4 failed this metric
FC056: Ensure maintainer_email is set in metadata: client_bootstrap/metadata.rb:1
FC064: Ensure issues_url is set in metadata: client_bootstrap/metadata.rb:1
FC065: Ensure source_url is set in metadata: client_bootstrap/metadata.rb:1
Run with Foodcritic Version 8.2.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
0.1.4 failed this metric
client_bootstrap does not have a valid open source license.
Acceptable licenses include Apache 2.0, apachev2, MIT, mit, GNU Public License 2.0, gplv2, GNU Public License 3.0, gplv3.
Testing File Metric
0.1.4 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 http://github.com/user/repo, and your repo must contain a TESTING.md file
0.1.4 failed this metric
0.1.4 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 http://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.4 failed this metric
FC056: Ensure maintainer_email is set in metadata: client_bootstrap/metadata.rb:1
FC064: Ensure issues_url is set in metadata: client_bootstrap/metadata.rb:1
FC065: Ensure source_url is set in metadata: client_bootstrap/metadata.rb:1
Run with Foodcritic Version 8.2.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
0.1.4 failed this metric
client_bootstrap does not have a valid open source license.
Acceptable licenses include Apache 2.0, apachev2, MIT, mit, GNU Public License 2.0, gplv2, GNU Public License 3.0, gplv3.
Testing File Metric
0.1.4 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 http://github.com/user/repo, and your repo must contain a TESTING.md file
0.1.4 failed this metric
FC064: Ensure issues_url is set in metadata: client_bootstrap/metadata.rb:1
FC065: Ensure source_url is set in metadata: client_bootstrap/metadata.rb:1
Run with Foodcritic Version 8.2.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.4 failed this metric
client_bootstrap does not have a valid open source license.
Acceptable licenses include Apache 2.0, apachev2, MIT, mit, GNU Public License 2.0, gplv2, GNU Public License 3.0, gplv3.
Testing File Metric
0.1.4 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 http://github.com/user/repo, and your repo must contain a TESTING.md file
0.1.4 failed this metric