Skip to content

Commit

Permalink
a-rex service should restart if the config changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kreczko committed Sep 19, 2014
1 parent 7c6e7c2 commit bf404c8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down Expand Up @@ -138,24 +139,24 @@
'/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",
require => File['/etc/arc/runtime/APPS/HEP'],
mode => 755,
}



# plugin to set a default runtime environment
file { '/usr/local/bin/default_rte_plugin.py':
ensure => present,
Expand Down

0 comments on commit bf404c8

Please sign in to comment.