Quantcast
Channel: Java mon amour
Viewing all articles
Browse latest Browse all 1124

Puppet: file recurse remote caveat

$
0
0
Puppet contains a beautiful "macro"file recurse remote, by which you keep a while directory (with subdirectories!) in sync with the content of a Puppet files repository. Great.

BUT. There is a BUT: if apart from maintaining the whole folder (say: /myfiles) with recurse-remote, you also maintain a file in a subfolder (say: /myfiles/myfolder/hello.txt), this breaks the whole synchronization of /myfiles/myfolder/. OTHER subfolders (say: /myfiles/myotherfolder/) will syncronize perfectly, but not /myfiles/myfolder/.

Now you know, so you can plan your workarounds to this - maybe unexpected - behavior.

Viewing all articles
Browse latest Browse all 1124

Trending Articles