Sha256: 7d2686d744022b52cbaf64deb19f22683ed3a4b6787f934781eec6c585679ba3

Contents?: true

Size: 1.46 KB

Versions: 9

Compression:

Stored size: 1.46 KB

Contents

- configure_oar_log_level:
  - exec_in: sed -e 's/^LOG_LEVEL\=\"2\"/LOG_LEVEL\=\"3\"/' -i /etc/oar/oar.conf

- configure_taktuk:
  - exec_in: sed -e 's/^#\(TAKTUK_CMD\=\"\/usr\/bin\/taktuk \-t 30 \-s\".*\)/\1/' -i /etc/oar/oar.conf
  - exec_in: sed -e 's/^#\(PINGCHECKER_TAKTUK_ARG_COMMAND\=\"broadcast exec timeout 5 kill 9 \[ true \]\".*\)/\1/' -i /etc/oar/oar.conf

- configure_db_type:
  - exec_in: sed -e 's/^\(DB_TYPE\)=.*/\1="Pg"/' -i /etc/oar/oar.conf
  - exec_in: sed -e 's/^\(DB_PORT\)=.*/\1="5432"/' -i /etc/oar/oar.conf

- configure_cpuset:
  - exec_in: sed -e 's/^#\(JOB_RESOURCE_MANAGER_PROPERTY_DB_FIELD\=\"cpuset\".*\)/\1/' -i /etc/oar/oar.conf
  - exec_in: sed -e 's/^#\(JOB_RESOURCE_MANAGER_FILE\=\"\/etc\/oar\/job_resource_manager\.pl\".*\)/\1/' -i /etc/oar/oar.conf
  - exec_in: sed -e 's/^#\(CPUSET_PATH\=\"\/oar\".*\)/\1/' -i /etc/oar/oar.conf

- configure_database:
  - exec_in: su postgres -c "psql -c 'DROP DATABASE IF EXISTS oar'"
  - exec_in: su postgres -c "psql -c 'DROP USER IF EXISTS oar'"
  - exec_in: su postgres -c "psql -c 'DROP USER IF EXISTS oar_ro'"
  - exec_in: sed -e 's/^\(DB_BASE_PASSWD\)=.*/\1="oar"/' -i /etc/oar/oar.conf
  - exec_in: sed -e 's/^\(DB_BASE_LOGIN\)=.*/\1="oar"/' -i /etc/oar/oar.conf
  - exec_in: sed -e 's/^\(DB_BASE_PASSWD_RO\)=.*/\1="oar_ro"/' -i /etc/oar/oar.conf
  - exec_in: sed -e 's/^\(DB_BASE_LOGIN_RO\)=.*/\1="oar_ro"/' -i /etc/oar/oar.conf
  - exec_in: /usr/local/sbin/oar-database --create --db-is-local --db-admin-user root

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
kameleon-builder-2.2.5 templates/steps/setup/oar/oar_config_server.yaml
kameleon-builder-2.2.4 templates/steps/setup/oar/oar_config_server.yaml
kameleon-builder-2.2.3 templates/steps/setup/oar/oar_config_server.yaml
kameleon-builder-2.2.2 templates/steps/setup/oar/oar_config_server.yaml
kameleon-builder-2.2.1 templates/steps/setup/oar/oar_config_server.yaml
kameleon-builder-2.2.0 templates/steps/setup/oar/oar_config_server.yaml
kameleon-builder-2.1.3 templates/steps/setup/oar/oar_config_server.yaml
kameleon-builder-2.1.1 templates/steps/setup/oar/oar_config_server.yaml
kameleon-builder-2.1.0 templates/steps/setup/oar/oar_config_server.yaml