...
Create and log into a CentOS 6.x or Red Hat Enterprise Linux 6.x system as a user with sudo rights
Warning The current Puppet script has issues if executed on a clean, "minimal" CentOS. A "minimal desktop" CentOS is recommended.
The current Puppet script requires Ruby version 1.9.3 or higher.
Become root
Code Block sudo -s
Disable SELinux (which we're not currently set up to support)
Code Block echo 0 > /selinux/enforce sed -ie "s/SELINUX=enforcing/SELINUX=permissive/" /etc/selinux/config
Install puppet from the Puppet Labs repository
Code Block rpm -ivh http://yum.puppetlabs.com/el/6/products/i386/puppetlabs-release-6-10.noarch.rpm yum install puppet
Install git
Code Block yum install git
Download and extract the Avalon install script
Code Block wget http://www.avalonmediasystem.org/downloads/avalon-installer-flat.tar.gz -O flat.tar.gz tar xzf flat.tar.gz cd avalon-installer-flat
Set up the installation variables
Code Block export INSTALL_DIR=`pwd` ln -s $INSTALL_DIR/files /etc/puppet/avalon_files
Create hiera/data/custom.yaml and collect facts to feed to puppet about your installation:
Code Block ruby -r './fact_gatherer.rb' -e 'FactGatherer.gather_facts'
Execute the puppet script
Code Block puppet apply --fileserverconfig=$INSTALL_DIR/fileserver.conf \ --modulepath=$INSTALL_DIR/modules --hiera_config=$INSTALL_DIR/hiera/hiera.yaml \ --templatedir=$INSTALL_DIR/templates manifests/init.pp --detailed-exitcodes
Be patient. The manifest needs to download, install and configure a whole lot of dependencies and servers. This could take 30 minutes or more even with a fast connection.When the script finishes, open a web browser and connect to the public address you configured above (e.g.,
http://avalon.example.edu/
) Create a new user with email archivist1@example.com, this is the default collection_manager and group_manager.
...