Questions tagged [chef]

45 questions
24
votes
4 answers

Configure Windows Creators Update Night Light via Registry

How can the new Night Light feature in Windows 10 (Pro) Creators Update be configured via the registry? I'd like to auto configure new/updated installations when using my configuration management tool of choice (Chef). System inspection via…
6
votes
1 answer

How to configure a firewall on Centos using Vagrant and Chef

I've created a server box using Vagrant and Chef and everything is up and running correctly. However, when the box is installed from scratch the default iptables rules are in place and so I need to disable the firewall in order to access my web…
justinhj
  • 1,412
5
votes
2 answers

No write access to parent

I am facing an issue chen trying to setup an openldap server with chef. Configuration: Ubuntu 15.04 OpenLdap 2.4.31 Chef/OpenLdap 2.7.1 For information, when I run dkpg-reconfigure slapd (which is not an option when trying to automate the…
4
votes
0 answers

Enter a Failed Docker Container with a Different Command

I have a fairly complicated docker container I'm attempting to build. As part of the build process I have I install Chef and have Chef install a number of cookbooks using Chef-Solo. I am having the cookbooks fail a certain point and need to inspect…
4
votes
3 answers

Should I be using vagrant destroy/up/reload/provision or something of the sort every time I want to change one of my source files?

I have recently started developing a little with vagrant and django in a vm. To get my machine up I use vagrant up, and to destroy it I use vagrant down. Both of these commands are time-consuming as hell, but I often need to change my source code on…
3
votes
1 answer

Creating new user using useradd ,but fails since its unable to create group in Oracle Linux 6

Below is the terminal execution [root@machine chef-server]# useradd -s '/bin/sh' -d '/opt/chef-server/embedded' -r chef_server useradd: Can't get unique system GID (no more available GIDs) useradd: can't create group [root@machine chef-server]#…
3
votes
1 answer

How can I efficiently force VirtualBox to use /dev/shm for all VM files?

SuperUsers. I want to preserve the life of my laptop's SSD drive. I make heavy use of Vagrant, Chef, and Virtualbox. I'm using Test Kitchen w/ Vagrant to run my infrastructure code tests. I am creating and destroying VMs all day, several times a…
3
votes
1 answer

Centralized management of app.config parts for self-hosted .NET services

What will be the best way to handle these scenarios, if they are not one-time, but regular: Self-hosted services on a quite a bunch of machines are needed to be repointed to different database in a centralized way. So it requires changing…
2
votes
0 answers

Error installing Chef Server on Vagrant-managed Ubuntu 14.04.2 LTS

I'm trying to set up a Chef Server on a local VM using Vagrant/VirtualBox. My Vagrantfile is: Vagrant.configure(2) do |config| config.vm.box = "ubuntu/trusty64" config.vm.hostname = "dtom-chef-server" config.vm.provision :shell, path:…
2
votes
1 answer

How to override ssh port in .kitchen.yml?

I want to be able to set which port to use for ssh forwarding when running up kitchen converge. I added the forwarded_port lines to .kitchen.yml: --- …
Anthony Kong
  • 5,318
2
votes
3 answers

Chef tool : saying need to mention version while installing httpd

Code I have written [root@ns1 sysadmin]# cat installstarthttpd.rb package' httpd' service 'httpd' do action [:start, :enable] end file '/var/www/html/index.html' do content ' …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/installation" class="post-tag grid--cell" title="show questions tagged 'installation'" rel="tag">installation</a> <a href="../../questions/tagged/apache-http-server" class="post-tag grid--cell" title="show questions tagged 'apache-http-server'" rel="tag">apache-http-server</a> <a href="../../questions/tagged/chef" class="post-tag grid--cell" title="show questions tagged 'chef'" rel="tag">chef</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Oct 14 '14 at 05:31">asked Oct 14 '14 at 05:31</time> <a href="../../users/310074/shekhar" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/310074.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="shekhar" /> </a> <div class="s-user-card--info"> <a href="../../users/310074/shekhar" class="s-user-card--link">shekhar</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">774</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-763505"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>2</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>0</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/763505/openssl-ssl-sslerror-while-trying-to-run-chef-server" class="question-hyperlink">OpenSSL::SSL::SSLError while trying to run chef-server</a></h3> <div class="excerpt">Installed Chef server on my Ubuntu 12.04 server. Following these instructions Getting the following error # chef-server-ctl test The source :rubygems is deprecated because HTTP requests are insecure. Please change your source to…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/ubuntu-12.04" class="post-tag grid--cell" title="show questions tagged 'ubuntu-12.04'" rel="tag">ubuntu-12.04</a> <a href="../../questions/tagged/chef" class="post-tag grid--cell" title="show questions tagged 'chef'" rel="tag">chef</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jun 04 '14 at 13:10">asked Jun 04 '14 at 13:10</time> <a href="../../users/172938/zabumba" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/172938.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="zabumba" /> </a> <div class="s-user-card--info"> <a href="../../users/172938/zabumba" class="s-user-card--link">zabumba</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">269</li> <li class="s-award-bling s-award-bling__silver" title="6 silver badges">6</li> <li class="s-award-bling s-award-bling__bronze" title="14 bronze badges">14</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-1787524"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>2</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/1787524/access-denied-error-when-executing-vboxmanage-during-test-kitchen-s-kitchen-co" class="question-hyperlink">Access Denied Error when executing VBoxManage during Test Kitchen's kitchen converge Ubuntu 22</a></h3> <div class="excerpt">I am encountering an error while trying to execute the kitchen converge command in Test Kitchen (v3.1.0) for my infrastructure testing. The error occurs during the creation of a virtual machine using the virtualbox provider. Error Message: ----->…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/ubuntu" class="post-tag grid--cell" title="show questions tagged 'ubuntu'" rel="tag">ubuntu</a> <a href="../../questions/tagged/vagrant" class="post-tag grid--cell" title="show questions tagged 'vagrant'" rel="tag">vagrant</a> <a href="../../questions/tagged/chef" class="post-tag grid--cell" title="show questions tagged 'chef'" rel="tag">chef</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jun 05 '23 at 18:32">asked Jun 05 '23 at 18:32</time> <a href="../../users/1806607/andres-cabrera" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1806607.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Andres Cabrera" /> </a> <div class="s-user-card--info"> <a href="../../users/1806607/andres-cabrera" class="s-user-card--link">Andres Cabrera</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">31</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-1441087"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>2</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>0</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/1441087/how-exactly-do-i-run-my-first-auto-generated-chef-cookbook-on-windows" class="question-hyperlink">How exactly do I run my first, auto-generated 'chef' cookbook on Windows?</a></h3> <div class="excerpt">I'm very inexperienced with Windows. I'm trying to set up Chef, such that I can avoid duplicating a bunch of "initial setup tasks" everytime I install Windows on a machine, as a developer (enable Windows Subsystem for Linux, install Chocolatey,…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/installation" class="post-tag grid--cell" title="show questions tagged 'installation'" rel="tag">installation</a> <a href="../../questions/tagged/automation" class="post-tag grid--cell" title="show questions tagged 'automation'" rel="tag">automation</a> <a href="../../questions/tagged/vagrant" class="post-tag grid--cell" title="show questions tagged 'vagrant'" rel="tag">vagrant</a> <a href="../../questions/tagged/chef" class="post-tag grid--cell" title="show questions tagged 'chef'" rel="tag">chef</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 25 '19 at 11:19">asked May 25 '19 at 11:19</time> <a href="../../users/22030/elliottcable" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/22030.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="ELLIOTTCABLE" /> </a> <div class="s-user-card--info"> <a href="../../users/22030/elliottcable" class="s-user-card--link">ELLIOTTCABLE</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">2,708</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-1263635"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>2</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/1263635/cannot-copy-dll-files-using-cookbook-file-in-chef-on-windows" class="question-hyperlink">Cannot copy .DLL files using cookbook_file in chef on windows</a></h3> <div class="excerpt">I am using chef to create setup files for a local build on windows 10 (e.g, using ChefDK with chef-client -z -o win10-setup). I want to use cookbook_file or remote_directory to copy *.dll files which I have locally in my cookbook. I have found that…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/windows-10" class="post-tag grid--cell" title="show questions tagged 'windows-10'" rel="tag">windows-10</a> <a href="../../questions/tagged/chef" class="post-tag grid--cell" title="show questions tagged 'chef'" rel="tag">chef</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Oct 30 '17 at 02:51">asked Oct 30 '17 at 02:51</time> <a href="../../users/83719/eric-g" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/83719.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Eric G" /> </a> <div class="s-user-card--info"> <a href="../../users/83719/eric-g" class="s-user-card--link">Eric G</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1,026</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <div class="s-pagination--item is-selected">1</div> <a class="s-pagination--item" href="../../questions/tagged/chef_page=2" rel="" title="Go to page 2">2</a> <a class="s-pagination--item" href="../../questions/tagged/chef_page=3" rel="" title="Go to page 3">3</a> <a class="s-pagination--item" href="../../questions/tagged/chef_page=2" rel="next" title="Go to page 2"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>