edf-hpc / puppet-hpc

Generic Puppet Configuration for HPC Clusters
http://edf-hpc.github.io/puppet-hpc/
GNU General Public License v2.0
14 stars 4 forks source link

hpc-config-push fails if not executed from source directory when using default configuration file #69

Open Cec1le opened 8 years ago

Cec1le commented 8 years ago

The source directory is the directory containing:

hpc-config-push does not seem to fail and does not return any error, but not all the files are uploaded to the destination

hpc-config-apply on the target node will typically return the kind of error shown below:

Error: Could not parse /etc/puppet/puppet.conf: Could not match line <?xml version="1.0" encoding="UTF-8"?>NoSuchKeys3-systemtx000000000000000021abd-0057f3642c-25be7-default25be7-default-default at /etc/puppet/puppet.conf:1 Error: Could not run: Could not find file /etc/puppet/environments//manifests/cluster.pp

hmlth commented 8 years ago

Added a bunch of warning, should make the issue less silent.

Needs to work out which files/dir should trigger a hard fail.