-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor #15
Open
ghoneycutt
wants to merge
2
commits into
voxpupuli:master
Choose a base branch
from
ghoneycutt:refactor
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Refactor #15
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
Style/TrailingCommaInLiteral: | ||
Enabled: false | ||
inherit_gem: | ||
voxpupuli-test: rubocop.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# -*- mode: ruby -*- | ||
# vi: set ft=ruby : | ||
# | ||
# Environment variables may be used to control the behavior of the Vagrant VM's | ||
# defined in this file. This is intended as a special-purpose affordance and | ||
# should not be necessary in normal situations. If there is a need to run | ||
# multiple backend instances simultaneously, avoid the IP conflict by setting | ||
# the ALTERNATE_IP environment variable: | ||
# | ||
# ALTERNATE_IP=192.168.52.9 vagrant up hyperglass-server | ||
# | ||
# NOTE: The agent VM instances assume the backend VM is accessible on the | ||
# default IP address, therefore using an ALTERNATE_IP is not expected to behave | ||
# well with agent instances. | ||
if not Vagrant.has_plugin?('vagrant-vbguest') | ||
abort <<-EOM | ||
|
||
vagrant plugin vagrant-vbguest >= 0.16.0 is required. | ||
https://github.com/dotless-de/vagrant-vbguest | ||
To install the plugin, please run, 'vagrant plugin install vagrant-vbguest'. | ||
|
||
EOM | ||
end | ||
|
||
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | ||
VAGRANTFILE_API_VERSION = "2" | ||
|
||
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | ||
|
||
config.vm.synced_folder ".", "/vagrant", type: "virtualbox" | ||
|
||
config.vm.provider :virtualbox do |vb| | ||
vb.customize ["modifyvm", :id, "--memory", "1024"] | ||
end | ||
|
||
config.vm.define "hyperglass-server", primary: true, autostart: true do |c| | ||
c.vm.box = "centos/7" | ||
c.vm.hostname = 'hyperglass-server.example.com' | ||
c.vm.network :private_network, ip: ENV['ALTERNATE_IP'] || '192.168.73.10' | ||
c.vm.network :forwarded_port, guest: 8001, host: 8001, auto_correct: true | ||
c.vm.provision :shell, :path => "vagrant/provision_basic_el.sh" | ||
c.vm.provision :shell, :inline => "puppet apply /vagrant/vagrant/server.pp" | ||
end | ||
|
||
config.vm.define "el7-agent", primary: true, autostart: true do |c| | ||
c.vm.box = "centos/7" | ||
c.vm.hostname = 'el7-agent.example.com' | ||
c.vm.network :private_network, ip: ENV['ALTERNATE_IP'] || '192.168.73.20' | ||
c.vm.network :forwarded_port, guest: 8080, host: 8080, auto_correct: true | ||
c.vm.provision :shell, :path => "vagrant/provision_basic_el.sh" | ||
c.vm.provision :shell, :inline => "puppet apply /vagrant/vagrant/agent.pp" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
hyperglass::server::data: | ||
listen_address: 0.0.0.0 | ||
|
||
hyperglass::server::devices: | ||
routers: | ||
- name: atl_router01 | ||
address: 10.0.0.2 | ||
network: | ||
name: secondary | ||
display_name: That Other Network | ||
credential: | ||
username: user2 | ||
password: " secret2" | ||
display_name: Atlanta, GA | ||
port: 22 | ||
nos: juniper | ||
vrfs: | ||
- name: default | ||
display_name: Global | ||
ipv4: | ||
source_address: 192.0.2.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--- {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
version: 5 | ||
defaults: | ||
datadir: data | ||
data_hash: yaml_data | ||
hierarchy: | ||
- name: "Acceptance testing with Beaker" | ||
path: "beaker/%{facts.beaker}.yaml" | ||
- name: "common" | ||
path: "common.yaml" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opened voxpupuli/voxpupuli-test#31 as I think that's where this file is now managed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is merged, though not sure about the release process for that gem. Anyhow, this should probably stay in the commit as it will just get overwritten in the next sync and keep doing the same thing.