redhat-cip / edeploy

Linux systems provisioning and updating made easy
Apache License 2.0
92 stars 38 forks source link

cmdb not expand without error #240

Closed gaelL closed 9 years ago

gaelL commented 9 years ago

Hi,

Some people have this issue :

In all case I have seen, it was linked to https://github.com/enovance/hardware/blob/master/hardware/cmdb.py#L47

when you call upload.py, hardware module try to create a .orig file. For example /etc/edeploy/foo.cmdb.orig. If you have not the write permission on edeploy directory, this action fail without errors in edeploy.

The result is edeploy continue and launch the configure script without expanded variables.

I think we need to have log or a message for this issue in edeploy.

Gaël L

fredericlepied commented 9 years ago

Fixed in https://github.com/enovance/hardware/commit/840497127fe69bd944a6e7c5dc5bec532f7fa296