Skip to content

jmassardo/Chef-Jenkins-Test-BU

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chef-Jenkins-Test-BU

This repository is a sample of a BU's dedicated repository. This repo allows a BU to manage their own environment file and data bags and move at their own velocity.

Data Bags

The data_bags folder contains standard data bag json files.

Example data bag folder structure:

data_bags
├── admin_users
│   ├── admin1.json
│   ├── admin2.json
│   └── admin3.json
├── limited_users
│   ├── user1.json
│   ├── user2.json
│   └── user3.json
└── op_users
    ├── op1.json
    ├── op2.json
    └── op3.json

Environments

Put one or more json files in the environments folder. When the pipeline runs, they will be merged with the matching environment file from the GlobalEnvironments repo.

Sample Environment file:

{
  "name": "prod",
  "description": "Main env for prod servers",
  "cookbook_versions": {
    "security_audit": "~> 0.1.4",
    "base_config": "= 0.1.0"
  },
  "json_class": "Chef::Environment",
  "chef_type": "environment",
  "default_attributes": {
  },
  "override_attributes": {
  }
}

About

This is a example BU repository following the shared services patterns outlined in https://github.com/jmassardo/Chef-Jenkins-Library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published