YoloVer Example Repository

This (mono-)repository serves as an example for working with the YoloVer workflow.

This Chef repository will deploy Apache and PostgreSQL for a hypothetical Vandelay Industries.

The major centerpiece of the repo are the Policyfiles.

  • policies/_base.rb – Shared base policy for all servers. This applies the chef-client recipe to all nodes and sets the default sources used for all policies.
  • polices/db.rbdb policy to create a Postgres database server. This applies the vandelay-postgres recipe.
  • policies/web.rbweb policy to create an Apache web server. This applies the vandelay-httpd recipe.

Policy Locks

Each policy has a corresponding lockfile.

As this is at least in part a mono-repo layout, we have an old school cookbooks/ folder containing our local cookbooks.

To verify that our policies are correct, we use InSpec tests.

Other Files

Sponsors

Development sponsored by Bloomberg.

License

Copyright 2016, Noah Kantrowitz

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.