This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am galenemery on github. | |
* I am galenemery (https://keybase.io/galenemery) on keybase. | |
* I have a public key ASDjrbaJgPVoSKW4_xroziPfCiWbbznHjtOt98-U7DjtYAo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "audit", | |
"description": "Audit Role", | |
"default_attributes": { | |
"audit": { | |
"inspec_version": "2.1.59", | |
"fetcher": "chef-server", | |
"reporter": "chef-server-automate", | |
"profiles": [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
machine_batch do | |
1.upto(6) do |i| | |
machine "#{name}-prodweb#{i}" do | |
driver 'aws' | |
tag 'my-webserver' | |
machine_options :region => node["aws_deploy"]["region"], | |
:location => node["aws_deploy"]["location"], | |
:ssh_username => node["aws_deploy"]["ssh_username"], | |
:aws_tags => {"belongs_to" => name}, | |
:convergence_options => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "audit", | |
"description": "Audit Role", | |
"default_attributes": { | |
"audit": { | |
"fetcher": "chef-server", | |
"reporter": "chef-server-automate", | |
"profiles": [ | |
{ | |
"name": "cis-rhel7-level1-server", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "base", | |
"description": "Base Server Role", | |
"default_attributes": { | |
"chef_client": { | |
"interval": 300, | |
"splay": 60, | |
"config": { | |
"ssl_verify_mode": ":verify_peer", | |
"log_level": ":info" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
provisioner: | |
name: chef_zero | |
platforms: | |
- name: ec2-ubuntu-14.04 | |
driver: | |
image_id: ami-4c7a3924 | |
name: ec2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
topology 'standalone' | |
api_fqdn 'cad-chef-server' | |
nginx['server_name'] = 'cad-chef-server' | |
oc_id['vip'] = 'cad-chef-server' | |
oc_id['applications'] = { | |
'analytics' => { 'redirect_uri' => 'https://cad-chef-server:8443/' }, | |
'supermarket' => { 'redirect_uri' => 'https://cad-supermarket/auth/chef_oauth2/callback' } | |
} | |
rabbitmq['vip'] = '172.31.54.57' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
topology 'standalone' | |
api_fqdn 'cad-chef-server' | |
nginx['server_name'] = 'cad-chef-server' | |
oc_id['vip'] = 'cad-chef-server' | |
oc_id['applications'] = { | |
'analytics' => { 'redirect_uri' => 'https://cad-chef-server:8443/' }, | |
'supermarket' => { 'redirect_uri' => 'https://cad-supermarket/auth/chef_oauth2/callback' } | |
} | |
rabbitmq['vip'] = '172.31.54.57' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
delivery setup --server=cad-delivery --ent=cad --org=ORG --user=chef |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iim_install 'ihs' do | |
#The idea here is to pass the responsefilepath directly into the iim_install resource. | |
#The response_file_install resource merely determines if the file exists, and if not creates it. | |
#Because the file already exists, we don't need to do this. | |
install_command_snippet "input #{::File.path(responseFilePath)}" | |
#all these default to null, and depending on your repositories security settings they might be able to remain that way. | |
master_password_file node[:ihs][:install][:masterPasswordFile] | |
secure_storage_file node[:ihs][:install][:secureStorageFile] | |
action :install | |
end |
NewerOlder