access_FCMInstallation - ACCESS-NRI/accessdev-Trac-archive GitHub Wiki


#!html
<h1 style="text-align: center; color: blue"> Installing and Configuring FCM on Accessdev Wiki Page </h1>

PageOutline

Introduction

This documentation outlines the installation and configuration of FCM on the NCI virtual machine accessdev. FCM is a set of tools produce by MetOffice for managaing and building source codes.

FCM Puppet module

FCM is installed via a puppet module. It is located in puppet/modules/fcm/. The puppet modules contains the following files

fcm/manifests/init.pp Puppet file
fcm/files/keyword.cfg NA to newer version of FCM
fcm/files/keyword.cfg.eg NA to newer version of FCM
fcm/files/make.cfg.eg NA to newer version of FCM
fcm/files/version NA to newer version of FCM

Upgrading FCM version

  1. Notify users and other admins of upcoming upgrade of software.

  2. New systems admins will need to have access to the NCI git repository and have read through the NCI Virtual Lab Developer's Guide before updating Accessdev. See https://docs.google.com/document/d/1ndDa505VPr4dXLRoojUh9nRBp7gzDsPAkD2c4h8EsFE

  3. Puppet modules for accessdev.nci.org.au are edited on cloudlogin.nci.org.au machine. Before editing the puppet scripts please ensure you have the latest repository. This can be done by logging onto cloudlogin and pulling down the NCI git repository.

ssh cloudlogin.nci.org.au
cd puppet
git pull
git checkout master
  1. Modify/Add the version of FCM with the following line in puppet/hieradata/project.yaml
# FCM version
fcm::version: 2014.06.0
  1. Push changes back into the repository
git commit -a # you will be asked to enter a log message (-a for all files)
git push
  1. Update Accessdev with the latest puppet changes
ssh accessdev.nci.org.au
sudo /usr/local/sbin/puppet-update
⚠️ **GitHub.com Fallback** ⚠️