User Tools

Site Tools


packages:chef-server

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
packages:chef-server [2013-07-11 17:24] glenpackages:chef-server [2014-05-04 19:34] (current) – [Bugfixes] glen
Line 31: Line 31:
   - [[https://github.com/opscode/omnibus-software/commit/4f2ee0a9d563acbeea14af3d8d84e2d2e0e53fb4|libiconv]] <code>   - [[https://github.com/opscode/omnibus-software/commit/4f2ee0a9d563acbeea14af3d8d84e2d2e0e53fb4|libiconv]] <code>
 sed -i -e 's,a1f25d7ab6930826822323b373b8298bff02fed1,4f2ee0a9d563acbeea14af3d8d84e2d2e0e53fb4,' Gemfile.lock sed -i -e 's,a1f25d7ab6930826822323b373b8298bff02fed1,4f2ee0a9d563acbeea14af3d8d84e2d2e0e53fb4,' Gemfile.lock
 +</code> \\ or rather: <code>
 +# cd /usr/share/ruby/gems/1.9/bundler/gems/omnibus-software-dc156b4a2c40
 +# curl https://github.com/opscode/omnibus-software/commit/4f2ee0a9d563acbeea14af3d8d84e2d2e0e53fb4.patch | patch -p1
 +patching file config/patches/libiconv/libiconv-1.14_srclib_stdio.in.h-remove-gets-declarations.patch
 +patching file config/software/libiconv.rb
 +Hunk #1 succeeded at 32 with fuzz 1 (offset -10 lines).
 </code> </code>
   - makeself <code>   - makeself <code>
     $ wget -O package-scripts/chef-server/makeselfinst https://raw.github.com/opscode/omnibus-chef/master/package-scripts/chef/makeselfinst</code>     $ wget -O package-scripts/chef-server/makeselfinst https://raw.github.com/opscode/omnibus-chef/master/package-scripts/chef/makeselfinst</code>
   - patch omnibus gem with [[https://raw.github.com/pld-linux/ruby-omnibus/master/omnibus-pld.patch|omnibus-pld.patch]]   - patch omnibus gem with [[https://raw.github.com/pld-linux/ruby-omnibus/master/omnibus-pld.patch|omnibus-pld.patch]]
 +  - cacerts fails with checksum, like [[https://github.com/opscode/omnibus-software/pull/174|here]], modify ''
 +~/.bundler/ruby/*/omnibus-software-*/config/software/cacerts.rb''
  
 Install bundle binstubs: Install bundle binstubs:
Line 66: Line 74:
 ---- End output of gpasswd -M chef_server chef_server ---- ---- End output of gpasswd -M chef_server chef_server ----
 </file> </file>
 +
 +Alternatively you can find the recipe and change ''append'' to ''true'' in [[http://docs.opscode.com/resource_group.html#attributes|group]] resource.
 +
  
 If using [[docs/vserver]] without ''initstyle=plain'', you need to make ''init q'' silent: <file> If using [[docs/vserver]] without ''initstyle=plain'', you need to make ''init q'' silent: <file>
Line 94: Line 105:
 Meanwhile when the progress stops, it is expecting init to start ''/opt/chef-server/embedded/bin/runsvdir-start'', but without init, nothing processes ''/etc/inittab'', so start it manually or use ''initstyle=plain''. Meanwhile when the progress stops, it is expecting init to start ''/opt/chef-server/embedded/bin/runsvdir-start'', but without init, nothing processes ''/etc/inittab'', so start it manually or use ''initstyle=plain''.
  
 +When using container like vserver, ensure following devices are present: 
 +<code> 
 +crw-rw---- 1 root console 5, 1 Jan  9 15:09 /dev/console 
 +crw-rw-rw- 1 root root    1, 3 Jul 20  2013 /dev/null 
 +crw-rw-rw- 1 root root    1, 5 Dec 25 17:35 /dev/zero 
 +</code>
 ===== Configure ===== ===== Configure =====
  
 To change https certificate, have look into ''/var/opt/chef-server/nginx/ca'' To change https certificate, have look into ''/var/opt/chef-server/nginx/ca''
packages/chef-server.1373556286.txt.gz · Last modified: 2013-07-11 17:24 by glen

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS PLD Linux Driven by DokuWiki