Skip to content
This repository has been archived by the owner on May 20, 2020. It is now read-only.

Issue with updates on U14.04 #13

Closed
daugustus opened this issue Nov 20, 2015 · 4 comments
Closed

Issue with updates on U14.04 #13

daugustus opened this issue Nov 20, 2015 · 4 comments

Comments

@daugustus
Copy link
Contributor

Chef runs fail due to the conffile prompt. I can create an override in /etc/apt/apt.conf.d/local- like what is mentioned here ( https://raphaelhertzog.com/2010/09/21/debian-conffile-configuration-file-managed-by-dpkg/ ) -but that seems overkill and potentially troublesome. The Cookbook defaults to 3.0.4 currently but 3.0.7 is the latest as of today. It seems that the Cookbook's apt-get command has the correct parameters:
"apt-get -q -y install mongodb-org-shell=3.0.7"

Any ideas on how to handle this?

Thanks for a great Cookbook!

@sunggun-yu
Copy link
Owner

@daugustus
Hi, Thank you for raising the issue.
I'll check as soon as possible. so sorry for the inconvenience.

@sunggun-yu
Copy link
Owner

@daugustus
HI,
just quick respond after doing some kitchen testing.
there was no problem in my kitchen testing with U14.04.
can you give me more detail about your environment?

  • chef-client version
  • dependencies on your wrapper cookbook.

also, it may related to the order of run_list. please try to set apt before the mongodb3 in run_list.

"run_list":[
   "recipe[apt]",
   "recipe[mongodb3]"
 ]

@daugustus
Copy link
Contributor Author

Chef version 12.4.3
wrapper dependencies:
depends 'database', '> 4.0.6'
depends 'magic', '
> 1.1.10'
depends 'mysql2_chef_gem', '> 1.0.1'
depends 'percona', '
> 0.16.0'
depends 'mongodb3'

and apt is listed in the run list BEFORE our wrapper cookbook

@daugustus
Copy link
Contributor Author

seem to work now- unsure what changed on my end - thanks!

@sunggun-yu sunggun-yu mentioned this issue Feb 10, 2016
sunggun-yu added a commit that referenced this issue Feb 10, 2016
* Fixed Chef::Mixin::Template::TemplateError: Node attributes are read-only when you do not specify which precedence level to set with Chef 11.10 - Daniel Doubrovkine([@dblock](https://github.com/dblock)) #21.
* Adding test for chef client 11.18.12 as 11.x : testing for #21
* Adding kitchen test for ubuntu 14.04 : #13
* Using `/var/run/mongodb/mongod.pid` for centos7 : #25
* Moving attribute setter to recipe in order to support install 3.0.x in wrapper cookbook. : #23
* Adding the mongodb 3.0.x version testing in test wrapper cookbook : #23
* Adding key file directory creation
* Fixing for yum and apt repo name
* Update default version as 3.2.1 : #24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants