mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
puppet: Remove hardcoding of /root/zulip from puppet path.
This is an important prerequisite to being able to remove dependence on the /root/zulip symlink altogether.
This commit is contained in:
@@ -29,7 +29,9 @@ include apt
|
||||
for pclass in re.split(r'\s*,\s*', config.get('machine', 'puppet_classes')):
|
||||
puppet_config += "include %s\n" % (pclass,)
|
||||
|
||||
puppet_cmd = ["puppet", "apply", "--modulepath=/root/zulip/puppet", "-e", puppet_config]
|
||||
# We use the puppet configuration from the same Zulip checkout as this script
|
||||
puppet_module_path = os.path.join(os.path.dirname(os.path.dirname(__file__)), "puppet")
|
||||
puppet_cmd = ["puppet", "apply", "--modulepath", puppet_module_path, "-e", puppet_config]
|
||||
puppet_cmd += extra_args
|
||||
|
||||
if not force:
|
||||
|
Reference in New Issue
Block a user