Displaying 2 results from an estimated 2 matches for "apps_file".
2017 Nov 07
2
Problem with getting restapi up&running
...orker exiting (pid: 30993)
-- snip --
another thing which drops an error message is "gluster-restapi"
root at node2 ~]# gluster-restapi -h
Traceback (most recent call last):
File "/usr/local/sbin/gluster-restapi", line 27, in <module>
from glusterrest.conf import APPS_FILE_TO_SYNC, APPS_FILE, \
ImportError: No module named glusterrest.conf
[root at node2 ~]#
so far, i was not able to figure out what exactly is missing in that case.
thanks
Juergen
2007 Mar 09
3
Using changes in a symlink target as a trigger for an ''exec''
...ay to set up the following (not at work, so don''t have
exact code, can provide that tomorrow if needed):
softlink A points to file B
Developer does a build, repoints soft link A to file C
This triggers an exec action to clean up old build directories
I set up something like this
class apps_files {
file {
''/path/to/link'':
checksum => md5,
}
exec {
''code to execute on change'':,
path => ''/usr/local/bin:/usr/bin:/bin'',
subscribe => file[''/path/to/link''],
refre...