From bf404c8582070701fcb2fd2db3fd263602e55037 Mon Sep 17 00:00:00 2001 From: Lukasz Kreczko Date: Fri, 19 Sep 2014 15:19:33 +0100 Subject: [PATCH] a-rex service should restart if the config changes --- manifests/config.pp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/manifests/config.pp b/manifests/config.pp index 35fddad..e093cba 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -89,6 +89,7 @@ file { $cache_dir: ensure => directory, } concat { '/etc/arc.conf': require => Package['nordugrid-arc-compute-element'], + notify => Service['a-rex'], } concat::fragment { 'arc.conf_common': @@ -138,15 +139,15 @@ '/etc/arc/', '/etc/arc/runtime/', '/etc/arc/runtime/ENV']: ensure => directory, } - + # Create empty ATLAS-SITE-LCG for ATLAS prd jobs file { [ '/etc/arc/runtime/APPS', '/etc/arc/runtime/APPS/HEP',] : ensure => directory, require => File['/etc/arc/runtime'], - } - + } + file { '/etc/arc/runtime/APPS/HEP/ATLAS-SITE-LCG': ensure => present, source => "puppet:///modules/${module_name}/RTEs/ATLAS-SITE-LCG", @@ -154,8 +155,8 @@ mode => 755, } - - + + # plugin to set a default runtime environment file { '/usr/local/bin/default_rte_plugin.py': ensure => present,