Skip to content

Commit

Permalink
Merge pull request #11 from Azure/bugfix/sched_config
Browse files Browse the repository at this point in the history
PBS master failed to converge
  • Loading branch information
atomic-penguin authored Sep 19, 2019
2 parents a85616a + d4dff69 commit 64eb53f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion project.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = pbspro
label = PBS Professional OSS
type = scheduler
version = 1.2.0
version = 1.2.1
autoupgrade = true

[blobs]
Expand Down
9 changes: 9 additions & 0 deletions specs/default/chef/site-cookbooks/pbspro/recipes/scheduler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@
action :create
end

# Create parent directory structure
directory '/var/spool/pbs'

# Create sched_priv directory before attempting
# to write config to that location.
directory '/var/spool/pbs/sched_priv' do
mode 0o750
end

cookbook_file "/var/spool/pbs/doqmgr.sh" do
source "doqmgr.sh"
mode "0755"
Expand Down

0 comments on commit 64eb53f

Please sign in to comment.