Skip to content

Commit

Permalink
Changed --top-dir to --chdir.
Browse files Browse the repository at this point in the history
Signed-off-by: sreepuramsudheer <[email protected]>
  • Loading branch information
sreepuramsudheer committed Jan 6, 2025
1 parent 1964ff9 commit 20dbc11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
--db-host #{new_resource.hostname}
--db-port #{new_resource.port}
--db-user #{new_resource.username}
--top-dir #{new_resource.name}
--chdir #{new_resource.name}
deploy #{target} --verify
EOM
environment 'PERL5LIB' => "/opt/#{ChefUtils::Dist::Org::LEGACY_CONF_DIR}/embedded/lib", # force us to use omnibus perl
Expand Down
2 changes: 1 addition & 1 deletion omnibus/partybus/lib/partybus/migration_api/v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def run_sqitch(target, service, opts = {})
--db-host #{Partybus.config.postgres['vip']}
--db-port #{Partybus.config.postgres['port']}
--db-user #{options[:username]}
--top-dir /opt/#{ChefUtils::Dist::Org::LEGACY_CONF_DIR}/embedded/service/#{options[:path]}
--chdir /opt/#{ChefUtils::Dist::Org::LEGACY_CONF_DIR}/embedded/service/#{options[:path]}
deploy #{target} --verify
EOM
run_command(command, env: {"PGPASSWORD" => options[:password]})
Expand Down

0 comments on commit 20dbc11

Please sign in to comment.