created --- --- +++ https://www.pld-linux.org/packages/chef-server ====== Installing Opscode Chef Server via omnibus packaging ======
As prepackaged chef-server is [[http://www.opscode.com/chef/install/#tab2|not available]] for PLD Linux, let's try to build the omnibus package ourself. Suggestion is to run this in a [[vagrant|Vagrant box]], that you can discard later as the gems are installed outside rpm package manager. ===== Pre-requisites ===== You need more space to build and install: # lvextend --size=3G /dev/sys/rootfs # xfs_growfs / Install packages: # poldek -u --noask ruby-bundler git-core ruby-devel glibc-devel libffi-devel libstdc++-devel patch bzip2 lsb-release rpm-build ===== Building ===== Checkout [[https://github.com/opscode/omnibus-chef-server|omnibus-chef-server]]: $ git clone https://github.com/opscode/omnibus-chef-server.git Make bugfixes: - libiconv - makeself <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]] Install bundle binstubs: $ cd omnibus-chef-server $ bundle install --binstubs Make cachedir so could run as non-root: $ sudo install -o $USER -d /var/cache/omnibus /opt/chef-server Create a platform-specific package using the build project command: $ bin/omnibus build project chef-server You may later preserve cache dirs to be shared with OS, add the mappings to your Vagrantfile config.vm.synced_folder "cache/omnibus", "/var/cache/omnibus" Diff URL: --- -- This mail was generated by DokuWiki at https://www.pld-linux.org/ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
