Skip to content

Commit

Permalink
Merge pull request puppetlabs#2846 from donoghuc/PE-31711
Browse files Browse the repository at this point in the history
(PE-31711) Make projects-dir a required bolt-server configuration value
  • Loading branch information
Steve Axthelm committed May 27, 2021
2 parents fd000c6 + b5f33d9 commit 339083b
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 53 deletions.
2 changes: 1 addition & 1 deletion lib/bolt_server/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def defaults
end

def required_keys
super + %w[file-server-uri]
super + %w[file-server-uri projects-dir]
end

def service_name
Expand Down
2 changes: 0 additions & 2 deletions spec/fixtures/api_server_configs/empty-plan-executor.conf

This file was deleted.

1 change: 1 addition & 0 deletions spec/fixtures/api_server_configs/global-bolt-server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ bolt-server: {
logfile: /var/log/global
allowlist: [a]
concurrency: 12
projects-dir: "/tmp/foo"
}
16 changes: 0 additions & 16 deletions spec/fixtures/api_server_configs/global-plan-executor.conf

This file was deleted.

13 changes: 0 additions & 13 deletions spec/fixtures/api_server_configs/local-bolt-server.conf

This file was deleted.

13 changes: 0 additions & 13 deletions spec/fixtures/api_server_configs/local-plan-executor.conf

This file was deleted.

1 change: 1 addition & 0 deletions spec/fixtures/api_server_configs/required-bolt-server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ bolt-server: {
ssl-key: "spec/fixtures/ssl/key.pem"
ssl-ca-cert: "spec/fixtures/ssl/ca.pem"
file-server-uri: "https://localhost:8140"
projects-dir: "/tmp/foo"
}
8 changes: 0 additions & 8 deletions spec/fixtures/api_server_configs/required-plan-executor.conf

This file was deleted.

0 comments on commit 339083b

Please sign in to comment.