Skip to content

Commit

Permalink
Update puppetdb url to sulpuppet4-db
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrober committed Nov 6, 2017
1 parent f21b290 commit 6c6f056
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/models/stack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
class Stack

def self.endpoint
'http://sulpuppet-db.stanford.edu:8080'
'http://sulpuppet4-db.stanford.edu:8080'
end

# in eyaml a fact for a machine looks like:
Expand Down
2 changes: 1 addition & 1 deletion spec/models/stack_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
RSpec.describe Stack, type: :model do

it 'knows where puppetdb is' do
expect(Stack.endpoint).to eq('http://sulpuppet-db.stanford.edu:8080')
expect(Stack.endpoint).to eq('http://sulpuppet4-db.stanford.edu:8080')
end

it 'knows a machine is in a stack' do
Expand Down

0 comments on commit 6c6f056

Please sign in to comment.