Questions tagged [chef-provisioning]
9 questions
2
votes
1 answer
Chef Provisioning with Vagrant Driver
I'm tyring to get off the ground with Chef Provisioning and am trying to run my first example. I'm a bit lost as what I thought would be an easy example is not working for me, clearly there is another step that I need to follow in order to proceed…

mrswadge
- 1,659
- 1
- 20
- 43
1
vote
2 answers
Chef - using overriden attributes inside recipes applied inside a machine resource
I have a recipe for provisioning an ec2 instance that I'm trying to apply an environment to, which I run as:
chef-client -z -o 'myapp::dev_create'
The default.rb attributes file is defined as:
default['myapp_provisioner'].tap do…

Mahlatse Makalancheche
- 431
- 4
- 6
0
votes
1 answer
Chef aws credential provisioning question
Question about chef provisioning for aws.
The credentials are always passed from a profile? or can you pass them directly from the code?
And the profile file does it require a specific directory or is inside the cookbook?
thanks in advance

Radaeld
- 175
- 1
- 2
- 9
0
votes
2 answers
Chef Provisioning for canary deployment and orchestration
I am searching for chef features that, does below jobs for deployment.
Configuration:
1) Configuration of deployment node machines in specific environment
2) Configure no of service instances to be alive in environment at all time
Deployment:
Now,…

Nitul
- 997
- 12
- 35
0
votes
1 answer
How do you specify log locations for machine converge actions in chef?
Given a chef machine resource like the following:
machine "my-server" do
action :converge_only
end
When this converge happens we sometimes get a chef status of Aborted on manage.chef.io with no further information. This makes it very difficult…

Ben Liyanage
- 4,993
- 1
- 21
- 23
0
votes
1 answer
Chef Provisioning - How to use 'chef_server' attribute
I am writing a Chef provisioning recipe to deploy a number of VMs in our vCenter, using vSphere driver for chef provisioning.
As far as I understand machine and batch_machine resources have a chef_server attribute, however there is not much…

Navarro
- 1,284
- 2
- 17
- 40
0
votes
2 answers
How do I get the ipaddress of a provisioned machine via chef provisioning
I am writing a chef provisioning recipe to provision a cluster of machines. I have more/less done that, but now I want to set the hosts file of all of the provisioned machines to be the dynamically assigned IP addresses of all of the other hosts. Is…

Jason Thompson
- 4,643
- 5
- 50
- 74
0
votes
1 answer
How do I use chef provisioning with chef zero with recipes that contain dependencies?
I'm very new to Chef and I'm attempting to provision a VM on my vsphere node using "chef provisioning".
When I execute the following
chef-client -z -o 'my_company::vsphere' 'my_company::test_cluster'
I get the following…

Jason Thompson
- 4,643
- 5
- 50
- 74
-1
votes
1 answer
How do you mass deploy using policyfiles in Chef?
With our current model we use the knife-vsphere plugin with a wrapper perl script that essentially for loops knife in conjunction with a csv file to mass deploy a list of VMs. I'm wondering if a workflow like this is possible with policyfiles?

TyMac
- 783
- 2
- 9
- 32