integration/packaging/puppet-opendaylight.git
7 years agorecover Fedora 20/21 52/55452/1
David Blaisonneau [Tue, 24 Mar 2015 13:17:28 +0000 (14:17 +0100)]
recover Fedora 20/21

Change-Id: Ic45ae69de0c04ebeb42d99fb1374765db7b731cd
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoadd ubuntu support 51/55451/1
David Blaisonneau [Tue, 24 Mar 2015 13:03:35 +0000 (14:03 +0100)]
add ubuntu support

Change-Id: Iaf0c4855b25373beea99346472a1ff3b6b1ad573
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoLink to ODL homepage in README, clear headings 50/55450/1
Daniel Farrell [Wed, 18 Mar 2015 16:36:07 +0000 (12:36 -0400)]
Link to ODL homepage in README, clear headings

* Backticks for ODL in headings hopefully show class vs project

Change-Id: I46fc8847b4e1e8ff1f6416c1f7829d3e09a9caca
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoGeneral cleanup of README 49/55449/1
Daniel Farrell [Wed, 18 Mar 2015 16:30:05 +0000 (12:30 -0400)]
General cleanup of README

* Assorted small changes
* Noted Java dep

Change-Id: I0f5f12765ce35c742338cfbb20f22aacf456c48c
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoTarball install method now stable, remove warning 48/55448/1
Daniel Farrell [Tue, 17 Mar 2015 15:08:25 +0000 (11:08 -0400)]
Tarball install method now stable, remove warning

* Relevant to #45 and others

Change-Id: I144e8f2402c80a33a7e7541652fc8663dc6123f1
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRPM sets odl user's home dir to `/opt/opendaylight` 47/55447/1
Daniel Farrell [Sat, 14 Mar 2015 05:13:11 +0000 (01:13 -0400)]
RPM sets odl user's home dir to `/opt/opendaylight`

* There's no trailing slash! Having one == Beaker fails.
* May want to fix this in future version of RPM?
* Relevant to #66

Change-Id: Iac2826ac38d53430d9aec8c2e5bd2b5a9734e3e4
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoClean up file name endings (trailing slash or not) 46/55446/1
Daniel Farrell [Sat, 14 Mar 2015 04:53:34 +0000 (00:53 -0400)]
Clean up file name endings (trailing slash or not)

* Was causing some strange dep cycle test failure

Change-Id: I08b4ae169a753eb527525a5067f7acd0567b420f
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRemove ODL version from ODL dir name 45/55445/1
Daniel Farrell [Sat, 14 Mar 2015 03:18:31 +0000 (23:18 -0400)]
Remove ODL version from ODL dir name

* Follows change made by RPM
* Relevant to #66

Change-Id: I6ad56a8e47418bc98f7b6415fd77173aeccc1aa7
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoMove from pre-PR fork to official rspec-puppet 44/55444/1
Daniel Farrell [Fri, 13 Mar 2015 19:27:29 +0000 (15:27 -0400)]
Move from pre-PR fork to official rspec-puppet

* Closes issue #16
* This commit has an interesting back story, see issue

Change-Id: I4a40fb133f8b06c33def54d75b4e51465895519e
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoBeaker tests, including tarball install ones 43/55443/1
Daniel Farrell [Wed, 11 Mar 2015 18:09:32 +0000 (14:09 -0400)]
Beaker tests, including tarball install ones

* Closes #45

Change-Id: Ifb3b024163a06eaf70fb9077c23dae4a72a0c3a7
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoFix two tarball Beaker test failures 42/55442/1
Daniel Farrell [Tue, 10 Mar 2015 21:51:56 +0000 (17:51 -0400)]
Fix two tarball Beaker test failures

* The tarball extract isn't idempotent, don't assert it is (#45)
* We're no longer setting modes, don't assert one

Change-Id: Ic73092c2814ab6243880f171670fa0a965428ef2
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoDo all tarball Beaker tests with a tarball install[ 41/55441/1
Daniel Farrell [Tue, 10 Mar 2015 20:04:21 +0000 (16:04 -0400)]
Do all tarball Beaker tests with a tarball install[

* Used to do install tests with correct tarball/RPM method, but
all other tests with always-RPM method.
* Relevant to #45

Change-Id: I76eb3bc47c3c80e9ed133dba52e33e77375d273e
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoDon't set Karaf config file mode, leave default 40/55440/1
Daniel Farrell [Tue, 10 Mar 2015 20:03:39 +0000 (16:03 -0400)]
Don't set Karaf config file mode, leave default

Change-Id: I151792b62bd3a3bea9b8a6f96a551018555d1ec7
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoFix Beaker test failure related to new mode config 39/55439/1
Daniel Farrell [Tue, 10 Mar 2015 15:41:15 +0000 (11:41 -0400)]
Fix Beaker test failure related to new mode config

* Related to #65

Change-Id: Ib6ffb32121ce4386ff17f798ade955fa85c68c5d
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoDon't set ODL archive mode, leave default 38/55438/1
Daniel Farrell [Tue, 10 Mar 2015 15:05:28 +0000 (11:05 -0400)]
Don't set ODL archive mode, leave default

* Relevant to #65

Change-Id: I6743f8fc15ec464e813eab1b3c0d0ebd358c34f2
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoMinor in-line docs spelling fix 37/55437/1
Daniel Farrell [Tue, 10 Mar 2015 01:30:04 +0000 (21:30 -0400)]
Minor in-line docs spelling fix

Change-Id: I27223dba7aaf91c3040a4aaeb41060316ddbbfc8
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoMajor update of tarball install Beaker tests 36/55436/1
Daniel Farrell [Mon, 9 Mar 2015 20:42:44 +0000 (16:42 -0400)]
Major update of tarball install Beaker tests

Move to totally different method of passing info about
which install method to test from rake command. We now
set env vars in the Rakefile, the access them in the
test context (not a helper) to get RPM xor tarball
behavior.

All tarball tests passing except a general one, debugging.

Large portion of #45.

Change-Id: I3ef3eeee6dc8999b1e93390ace162fc08f7be3d6
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoFix user/group/mod of features file (tarball only) 35/55435/1
Daniel Farrell [Mon, 9 Mar 2015 18:53:21 +0000 (14:53 -0400)]
Fix user/group/mod of features file (tarball only)

* A more specific file config was overriding ODL dir config
* Fixes some tests for #45

Change-Id: Ife6a7cbb89a0ed1823784ba6af43876100c74803
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoDoc updates for install manifest 34/55434/1
Daniel Farrell [Mon, 9 Mar 2015 17:48:28 +0000 (13:48 -0400)]
Doc updates for install manifest

Change-Id: I067a8c502df419110207020d1ff7b6cf22b39d60
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoMinor doc clean up in Beaker test helpers 33/55433/1
Daniel Farrell [Fri, 6 Mar 2015 04:47:09 +0000 (23:47 -0500)]
Minor doc clean up in Beaker test helpers

Change-Id: Ie7221c0684ee07827eb511524fc8d46c214dd347
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd rpm flag to F20/21 Beaker host YAML files 32/55432/1
Daniel Farrell [Mon, 2 Mar 2015 02:31:13 +0000 (21:31 -0500)]
Add rpm flag to F20/21 Beaker host YAML files

* Without this, wouldn't be provisioned via RPM or tarball
* Relevant to #32 and #63

Change-Id: Ie196c943963e79bdae64854ca04a163a7db1bc17
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoIgnore third-party code in rspec coverage reports 31/55431/1
Daniel Farrell [Sun, 1 Mar 2015 22:25:22 +0000 (17:25 -0500)]
Ignore third-party code in rspec coverage reports

* Closes #50

Change-Id: I72f7c544b1ab44c6926898a29802c758986ea59c
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd rspec-puppet tests for odl group 30/55430/1
Daniel Farrell [Sun, 1 Mar 2015 21:30:36 +0000 (16:30 -0500)]
Add rspec-puppet tests for odl group

* Only relevant to tarball-based installs
* Closes #60

Change-Id: Ife790ed2678cb388e7a3aeabddad4fa094e7fd4b
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd rspec-puppet tests for odl user 29/55429/1
Daniel Farrell [Sun, 1 Mar 2015 21:11:36 +0000 (16:11 -0500)]
Add rspec-puppet tests for odl user

* Only relevant to tarball-based installs, RPM normally handles
* Closes #59

Change-Id: I58686f2c75d2471c2359c558b3cd135e7f20d3cd
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd rspec tests for systemd file owner/group/mode 28/55428/1
Daniel Farrell [Sun, 1 Mar 2015 20:55:52 +0000 (15:55 -0500)]
Add rspec tests for systemd file owner/group/mode

* Relevant to #61

Change-Id: I497f732822a49b7354b5ead9cc92a8e0fc04144e
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd rspec tests for ODL dir owner/group/mode 27/55427/1
Daniel Farrell [Sun, 1 Mar 2015 20:45:36 +0000 (15:45 -0500)]
Add rspec tests for ODL dir owner/group/mode

* Relevant to #61

Change-Id: I61ba5b104f1db1b70d1d0d4ae1f0d3cd86e08647
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate ODL and systemd tarball RSpec tests 26/55426/1
Daniel Farrell [Sun, 1 Mar 2015 18:51:11 +0000 (13:51 -0500)]
Update ODL and systemd tarball RSpec tests

* Recent code changes to these resources required test updates

Change-Id: I395ff38137c65b1c3c1faa04ed45e41ad12d653d
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoSet correct user/group/mode for ODL .service file 25/55425/1
Daniel Farrell [Sat, 28 Feb 2015 19:48:43 +0000 (14:48 -0500)]
Set correct user/group/mode for ODL .service file

* Relevant to #62

Change-Id: Ia4f23a799a11812d65e45ae96e8c8da5ce1d1427
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoSet correct mode (0775) for ODL dir 24/55424/1
Daniel Farrell [Sat, 28 Feb 2015 18:02:43 +0000 (13:02 -0500)]
Set correct mode (0775) for ODL dir

* Relevant to #62

Change-Id: I5b0a89ff746bee4088922223dc872e3e1fdfb441
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoSet user:group to `odl:odl` for extracted ODL dir 23/55423/1
Daniel Farrell [Sat, 28 Feb 2015 00:01:41 +0000 (19:01 -0500)]
Set user:group to `odl:odl` for extracted ODL dir

* Needs testing
* Relevant to #58

Change-Id: Ib41860a248894d2a8a9f34748894891d87baa743
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoCreate odl group during tarball installs 22/55422/1
Daniel Farrell [Fri, 27 Feb 2015 23:09:39 +0000 (18:09 -0500)]
Create odl group during tarball installs

* Relevant to #51

Change-Id: I4eecea456d9db7e46b03307f07c7182366921d10
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd and configure odl user during tarball installs 21/55421/1
Daniel Farrell [Fri, 27 Feb 2015 23:02:00 +0000 (18:02 -0500)]
Add and configure odl user during tarball installs

* Relevant to #51

Change-Id: I440c65a8e4e3e6f3bbaba76063448f0e74b42071
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoSeparate rake tasks for tarball/RPM Beaker tests 20/55420/1
Daniel Farrell [Fri, 27 Feb 2015 18:20:34 +0000 (13:20 -0500)]
Separate rake tasks for tarball/RPM Beaker tests

* Create rake task to run Beaker tests against CentOS 7 tarball install
* `rake centos` still runs Beaker tests against an RPM install Cent7
* Closes #54

Change-Id: I93ceb97ac2e358807bb81cedb0e3b71aca679d1b
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoSwitch to camptocamp-archive in Beaker tests 19/55419/1
Daniel Farrell [Fri, 27 Feb 2015 17:48:41 +0000 (12:48 -0500)]
Switch to camptocamp-archive in Beaker tests

* Relevant to #45

Change-Id: Iff94527103416b46ea9f820beb699d33702eef81
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoInstall Java Puppet mod in Beaker test hosts 18/55418/1
Daniel Farrell [Fri, 27 Feb 2015 17:43:58 +0000 (12:43 -0500)]
Install Java Puppet mod in Beaker test hosts

* Related to #45, #56

Change-Id: I232bb3b31a89c0da69dd5d4f16496b0027c906c2
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd OS release fact required by Java mod #56 17/55417/1
Daniel Farrell [Fri, 27 Feb 2015 17:00:06 +0000 (12:00 -0500)]
Add OS release fact required by Java mod #56

Change-Id: I296c8f6e65c8357f75e5b008035451071a286fee
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoInstall Java during tarball-based installs, test 16/55416/1
Daniel Farrell [Fri, 27 Feb 2015 16:30:37 +0000 (11:30 -0500)]
Install Java during tarball-based installs, test

* Use Java Puppet mod to install Java OpenJDK 7
* Add RSpec tests to verify Java install
* Only applies to tarball installs, otherwise handled by RPM
* Relevant to issue #56

Change-Id: Ie34b63099a654a672759671c1e13a4f993bc8dbf
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd Java Puppet mod dependency for tarball install 15/55415/1
Daniel Farrell [Fri, 27 Feb 2015 16:13:47 +0000 (11:13 -0500)]
Add Java Puppet mod dependency for tarball install

* Relevant to #56

Change-Id: I471927e458a17a3b08e0d02ccc760901a7d19192
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoFix systemd unitfile archive download/extraction 14/55414/1
Daniel Farrell [Thu, 26 Feb 2015 19:31:37 +0000 (14:31 -0500)]
Fix systemd unitfile archive download/extraction

* Required by move from gini-archive to camptocamp-archive
* Wouldn't get an opendaylight.service file without this patch
* Relevant to #52

Change-Id: I9d90f1cc6348d9f68caa9d3128b777f570adf8f9
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdjust archive target param for camptocamp mod 13/55413/1
Daniel Farrell [Wed, 25 Feb 2015 20:13:20 +0000 (15:13 -0500)]
Adjust archive target param for camptocamp mod

- Need one more dir level in this situation
- Related to different implementation of strip-components
- See https://gist.github.com/dfarrell07/e5898d01fb94b5ded6d1

Change-Id: Iaaed92bce003a4f1b210984e8968bdef2fda7555
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd $::path fact to tests, required by archive mod 12/55412/1
Daniel Farrell [Wed, 25 Feb 2015 17:09:59 +0000 (12:09 -0500)]
Add $::path fact to tests, required by archive mod

* The camptocamp-archive mod uses $::path for calls to various execs
* gini-archive accepted a default path param, so this wasn't an issue
* Not having this will cause compile tests to fail

Change-Id: I244732f91b2cd1c5ea8687fb7ccdb77e387f8b5a
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoMove to pre-PR fork of camptocamp-archive mod 11/55411/1
Daniel Farrell [Mon, 23 Feb 2015 20:59:26 +0000 (15:59 -0500)]
Move to pre-PR fork of camptocamp-archive mod

* The fork is under development (adding strip_components flag)
* A PR will will submited to merge it back into camptocamp-archive
* Relevant to #52, #53

Change-Id: I9c6514a58de25df67d1e635f040f9da9d482fa74
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate install manifest's inline docs 10/55410/1
Daniel Farrell [Mon, 23 Feb 2015 20:57:53 +0000 (15:57 -0500)]
Update install manifest's inline docs

Change-Id: I05ea868498f84fc1e49ee285204b1078be31364c
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoIgnore log files 09/55409/1
Daniel Farrell [Thu, 19 Feb 2015 15:49:15 +0000 (10:49 -0500)]
Ignore log files

Change-Id: I0ad3db62ed20b4efd4f7120b815ef5e8e06fab33
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdded some missing commas in README example 08/55408/1
Daniel Farrell [Wed, 18 Feb 2015 04:32:29 +0000 (23:32 -0500)]
Added some missing commas in README example

Change-Id: I2eb5beb1edf2a2536ed36fd815977123ae30a046
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoOverride timeout param (120 to 600s) in tarball dl 07/55407/1
Daniel Farrell [Tue, 17 Feb 2015 14:55:40 +0000 (09:55 -0500)]
Override timeout param (120 to 600s) in tarball dl

* ODL is a large download may legitimacy not finish in 120s
* See issue #53

Change-Id: Ie82c3edd92626b379354c84091b8f2701018fcc5
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdded note to README about tarball instability 06/55406/1
Daniel Farrell [Mon, 16 Feb 2015 23:30:09 +0000 (18:30 -0500)]
Added note to README about tarball instability

* Tarball-based installs not recommended at the moment
* RPM installs fine
* Relevant to #45, #51, #52 and #53

Change-Id: I2960edaf99f42992a3ab07cfffbe9d978ca56aaa
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoGeneral refactoring of Beaker tests 05/55405/1
Daniel Farrell [Mon, 16 Feb 2015 22:33:58 +0000 (17:33 -0500)]
General refactoring of Beaker tests

* Restructured install method tests
* Actually apply the manifest for a tarball install
* Minor single/double quote cleanup for consistency
* Moderate in-line doc updates
* Relevant to #45 and #51

Change-Id: I306004decc31d2536b600a1d55808c5604931cb9
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRefactor Beaker tests by extracting odl install 04/55404/1
Daniel Farrell [Mon, 16 Feb 2015 22:00:47 +0000 (17:00 -0500)]
Refactor Beaker tests by extracting odl install

* Punts applicaiton of manifest to install odl to a helper
* More Ruby-ish default params for odl install and Karaf features checks
* Doc'd that odl class, RSpec and Beaker tests must sync default params
* Relevant to #45 and #51

Change-Id: I67d373ec87f2c81f35b301463f0803577c0c7928
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRefactor Beaker tests, extract helper fns 03/55403/1
Daniel Farrell [Mon, 16 Feb 2015 19:54:14 +0000 (14:54 -0500)]
Refactor Beaker tests, extract helper fns

- Relevant to #45 and #51

Change-Id: I3d40fc362323d00fc732f9c5b7f8a2fbf5bd0732
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoVerify absence of RPM stuff in tarball installs 02/55402/1
Daniel Farrell [Sun, 15 Feb 2015 17:05:25 +0000 (12:05 -0500)]
Verify absence of RPM stuff in tarball installs

* These are RSpec tests only, not Beaker
* Relevant to #44

Change-Id: I6f12dd7c5754ae9b5596c20fd6bdef79ad8f7689
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoInitial Beaker test for tarball install 01/55401/1
Daniel Farrell [Sat, 14 Feb 2015 13:56:16 +0000 (08:56 -0500)]
Initial Beaker test for tarball install

- Relevant to #45
- Found #51

Change-Id: Ic15fbf50992f2e371d0640ad67fb78ef95dcd889
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd RSpec tests that pass unitfile/tarball URLs 00/55400/1
Daniel Farrell [Fri, 13 Feb 2015 20:31:45 +0000 (15:31 -0500)]
Add RSpec tests that pass unitfile/tarball URLs

- Relevant to #44

Change-Id: I347a1cc2d2fea28f99fe69a88be21aa84c1a4553
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd RSpec tests for install_method param 99/55399/1
Daniel Farrell [Fri, 13 Feb 2015 20:16:28 +0000 (15:16 -0500)]
Add RSpec tests for install_method param

- Pull RPM-based install logic into dedicated fn
- Add tarball-based install logic
- Closes #44

Change-Id: I52aa83ef201a202db1c37686fcbce3fb433f9f57
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoSplit generic test and Karaf feature test helpers 98/55398/1
Daniel Farrell [Fri, 13 Feb 2015 16:31:15 +0000 (11:31 -0500)]
Split generic test and Karaf feature test helpers

- Add calls to generic tests in supported OS contexts
- Call both helpers in Karaf feature contexts
- Now have test parity with pre-refactored RSpec tests
- Closes #43

Change-Id: I69b6e4dddd385566aa67cc6ba4c3d032a88b3169
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoDocs and unused var cleanup in RSpec tests 97/55397/1
Daniel Farrell [Fri, 13 Feb 2015 16:00:02 +0000 (11:00 -0500)]
Docs and unused var cleanup in RSpec tests

Change-Id: I57ed94bf0b709b800d55c9f902820c91bf8fdb6e
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd Karaf feature tests to refactored RSpec tests 96/55396/1
Daniel Farrell [Fri, 13 Feb 2015 15:54:37 +0000 (10:54 -0500)]
Add Karaf feature tests to refactored RSpec tests

- Relevant to #43

Change-Id: Ibd34a4524cc9bce4a8691cec1a7225c7f572355b
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRefactored rspec tests now passing 95/55395/1
Daniel Farrell [Fri, 13 Feb 2015 15:27:59 +0000 (10:27 -0500)]
Refactored rspec tests now passing

- Relevant to #43
- The word 'class' must not appear in `describe` strings
- `let` statements aren't inherited by child contexts

Change-Id: I6e2c856580126c5036f14129a19ceb6f57fe2cf3
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoMajor refactoring of README install method section 94/55394/1
Daniel Farrell [Fri, 13 Feb 2015 02:18:53 +0000 (21:18 -0500)]
Major refactoring of README install method section

Change-Id: I3ec8f4220af833ce8ab313568432e2b59e364511
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoMajor refactoring of README usage section 93/55393/1
Daniel Farrell [Fri, 13 Feb 2015 02:13:41 +0000 (21:13 -0500)]
Major refactoring of README usage section

Change-Id: I9cf2aeb6f3b9e19ff8dd44705a68d9321129bae4
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdates README to document ODL rest port param 92/55392/1
Daniel Farrell [Fri, 13 Feb 2015 01:39:11 +0000 (20:39 -0500)]
Updates README to document ODL rest port param

- Relevant to PR #35
- Closes #46

Change-Id: If5b2ef439a45c431f797606ca5dbfc7852925eb2
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoGeneral refactoring of in-class docs. 91/55391/1
Daniel Farrell [Thu, 12 Feb 2015 22:51:36 +0000 (17:51 -0500)]
General refactoring of in-class docs.

- Touches most manifests' class-level docs.
- Closes #49

Change-Id: I39c1f9f904cbee3166a05a7cae12af315accb8b9
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoFix adds the ability to change ODL rest port. 90/55390/1
Tim Rozet [Wed, 4 Feb 2015 22:38:54 +0000 (17:38 -0500)]
Fix adds the ability to change ODL rest port.

This is needed as an option due to the fact that that if running ODL on
the same node as Swift in OpenStack there will be a conflict with ports.
Hence its a good idea to have it as a configurable option when
isntalling ODL using this puppet module.

Change-Id: Idb87f862b6ff92bf1f0289b81327319eb09e1ecb
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdded parameter for odl_rest_port 89/55389/1
Tim Rozet [Wed, 4 Feb 2015 22:06:12 +0000 (17:06 -0500)]
Added parameter for odl_rest_port

This is needed when combining with openstack as swift already uses
default 8080 port. odl_rest_port configures tomcat to change REST
API listen port.

Change-Id: Ief9af904a41ed74a1bdf923aaab1da15169c28a2
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoInitial refactoring of test structure 88/55388/1
Daniel Farrell [Wed, 11 Feb 2015 20:57:18 +0000 (15:57 -0500)]
Initial refactoring of test structure

- Currently only have OS-related tests, will add others back later
- Currently broken, no idea why, very obtuse syntax error

Change-Id: I704c3810acfcca2bb450f5dfda8a6bda2c8ad698
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdated README with tarball-install docs #41 87/55387/1
Daniel Farrell [Wed, 11 Feb 2015 16:10:49 +0000 (11:10 -0500)]
Updated README with tarball-install docs #41

Change-Id: I8c41e69044e9c96e7ee8646f40589b14371352a5
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoInline doc updates for tarball install #41 86/55386/1
Daniel Farrell [Wed, 11 Feb 2015 15:30:36 +0000 (10:30 -0500)]
Inline doc updates for tarball install #41

Change-Id: Ib96ecd7a3a5f68d3f12b14f31a3b39e79d118308
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdated in-code ODL class param docs 85/55385/1
Daniel Farrell [Wed, 11 Feb 2015 14:58:56 +0000 (09:58 -0500)]
Updated in-code ODL class param docs

- Closes #29, relevant to #41

Change-Id: I2cd6d0e57fef224fd0a1ac83b88266b4f11a6e09
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoInstall systemd unitfile during tarball installs 84/55384/1
Daniel Farrell [Tue, 10 Feb 2015 23:25:32 +0000 (18:25 -0500)]
Install systemd unitfile during tarball installs

- Pulls opendaylight.service from same repo as RPM
- Adds param for unitfile URL, so it can be overriden
- Tarball-based installs should mostly work now
- See #41

Change-Id: Idf57828330b6bedddada93c28f570666f1c7d890
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRefactors how install method is selected 83/55383/1
Daniel Farrell [Tue, 10 Feb 2015 22:44:54 +0000 (17:44 -0500)]
Refactors how install method is selected

- Adds an `install_method` param to choose method
- Still accepts tarball URL
- See #41

Change-Id: Ib1e11044063b23b2f3d91a4b3fd32d837f376de9
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoInitial ability to install from tarball 82/55382/1
Daniel Farrell [Tue, 10 Feb 2015 20:00:21 +0000 (15:00 -0500)]
Initial ability to install from tarball

- Added dependency on gini/puppet-archive
- Would use camptocamp/puppet-archive, but it can't strip tar root dir
- Not currently pulling systemd .service file, so service broken
- Will refactor params for archive-installs in future commits
- See issue #41

Change-Id: Ib157f055fe0b7ea3bc6384af05e2107ac9c4c1ec
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRemoved unnecessary class doc in README. #1 81/55381/1
Daniel Farrell [Tue, 10 Feb 2015 14:30:36 +0000 (09:30 -0500)]
Removed unnecessary class doc in README. #1

Change-Id: Id2f7cd3d3912896a1692e4a9d9b2421197e38c40
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoMajor README update. See #1 80/55380/1
Daniel Farrell [Tue, 10 Feb 2015 14:24:58 +0000 (09:24 -0500)]
Major README update. See #1

Change-Id: Iebd79b874a00d9fb170575be6387aeb9fab99973
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRevert "Report test coverage via Coveralls" 79/55379/1
Daniel Farrell [Mon, 9 Feb 2015 18:17:03 +0000 (13:17 -0500)]
Revert "Report test coverage via Coveralls"

- Doesn't report real results for Puppet mods

This reverts commit 4dcc10cfe81fa1e8ec317b86222bc97bac647616.

Change-Id: Id6be50c2793ebb15609f18789b498f1f8d0cfd28
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoReport test coverage via Coveralls 78/55378/1
Daniel Farrell [Mon, 9 Feb 2015 18:04:38 +0000 (13:04 -0500)]
Report test coverage via Coveralls

Change-Id: I3121879ba48c24fd2969503e466f034108ab2b0a
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoTemplate var scope maybe-fix. See #40 77/55377/1
Daniel Farrell [Mon, 9 Feb 2015 17:33:00 +0000 (12:33 -0500)]
Template var scope maybe-fix. See #40

Change-Id: I1668baf90de12d343edbd4d9e3153b7faf8a8f30
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd Beaker tests for default/extra Karaf features 76/55376/1
Daniel Farrell [Mon, 9 Feb 2015 16:30:49 +0000 (11:30 -0500)]
Add Beaker tests for default/extra Karaf features

- Closes #30

Change-Id: I3e7bc2380b8a4d33c9bbefaa67d0cf0d6da1ddac
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoMinor clean-up of unused (commented out) code 75/55375/1
Daniel Farrell [Mon, 9 Feb 2015 16:30:35 +0000 (11:30 -0500)]
Minor clean-up of unused (commented out) code

Change-Id: I92095c219b0801141d43555eb029a96f913117a8
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoPut Gitter badge on same line as others 74/55374/1
Daniel Farrell [Fri, 6 Feb 2015 22:32:55 +0000 (17:32 -0500)]
Put Gitter badge on same line as others

Change-Id: I29939a67a59849d7f6b52e27d3edc58d62560594
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdded Gitter badge 73/55373/1
The Gitter Badger [Fri, 6 Feb 2015 22:29:14 +0000 (22:29 +0000)]
Added Gitter badge

Change-Id: I7c4c47dd367b344cb695a94a544203814ccec66f
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUse readable multi-line hashes. Closes #36 72/55372/1
Daniel Farrell [Thu, 5 Feb 2015 22:04:37 +0000 (17:04 -0500)]
Use readable multi-line hashes. Closes #36

Change-Id: Id651f4ae1076ad0c0cdeb83705eeaef2e29171e4
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoBumped version to 0.1.0 71/55371/1
Daniel Farrell [Thu, 5 Feb 2015 21:42:21 +0000 (16:42 -0500)]
Bumped version to 0.1.0

Change-Id: I0f9d11cae74d2480e62049d64c60306f0afa6a42
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoDon't have Travis test Ruby 1.8.7 #34 70/55370/1
Daniel Farrell [Thu, 5 Feb 2015 20:49:40 +0000 (15:49 -0500)]
Don't have Travis test Ruby 1.8.7 #34

Change-Id: I87a5c24b273c70df84bf9a1d85d541f94c741492
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAccept default/extra features as diff class params 69/55369/1
Daniel Farrell [Wed, 4 Feb 2015 21:59:01 +0000 (16:59 -0500)]
Accept default/extra features as diff class params

- The odl class now provides reasonable defaults that
can be overriden, as well as an extra_features param
intended for installing features in addition to defaults
- Added (many) rspec-puppet test to cover this feature
- Closes #26, closes #25

Change-Id: If9d62422b4401ac7c9df11629ff807bd3fa56d6f
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoMinor refactoring of shared supported OS tests 68/55368/1
Daniel Farrell [Tue, 3 Feb 2015 20:16:01 +0000 (15:16 -0500)]
Minor refactoring of shared supported OS tests

Change-Id: I7f0a4bd36a956e93d4ee64114f592a6afa19da5c
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoInitial tests with params, relevant to #25 67/55367/1
Daniel Farrell [Tue, 3 Feb 2015 19:51:39 +0000 (14:51 -0500)]
Initial tests with params, relevant to #25

Change-Id: Iebe8f02d47e087c9873030d15e6abe7d931545a7
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpgrade from Helium SR1.1 to SR2. Closes #31 66/55366/1
Daniel Farrell [Mon, 2 Feb 2015 17:35:58 +0000 (12:35 -0500)]
Upgrade from Helium SR1.1 to SR2. Closes #31

Change-Id: Ic7bfc988636d9a034a2deb3b280231ad2ecc96a5
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate ODL user home dir per new RPM 65/55365/1
Daniel Farrell [Fri, 30 Jan 2015 20:59:05 +0000 (15:59 -0500)]
Update ODL user home dir per new RPM

Change-Id: Idaba466bcf19a0d61c5f951554d8ce9ca5d5cf4c
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoCleanup of metadata.json. Closes #24 64/55364/1
Daniel Farrell [Tue, 27 Jan 2015 22:33:56 +0000 (17:33 -0500)]
Cleanup of metadata.json. Closes #24

- Added compatible Puppet version info
- Minor edits to summary and OS version formats
- Added tags list required by the Puppet Forge

Change-Id: Icd822b0e8d80c2820be519b61cf9da21915039b6
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRemove unused Modulefile, rely on metadata.json 63/55363/1
Daniel Farrell [Tue, 27 Jan 2015 21:33:50 +0000 (16:33 -0500)]
Remove unused Modulefile, rely on metadata.json

Change-Id: I5d8dfc08c4e4d94a8f785191ceaa69993041f461
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoMoved to semver syntax for stdlib deb. Closes #18 62/55362/1
Daniel Farrell [Tue, 27 Jan 2015 21:24:28 +0000 (16:24 -0500)]
Moved to semver syntax for stdlib deb. Closes #18

Change-Id: I237d9999785bb96cb840decefc501b2cf2e80fc3
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoMerge shared tests for unsupported OSs and OS families 61/55361/1
Daniel Farrell [Mon, 26 Jan 2015 20:18:56 +0000 (15:18 -0500)]
Merge shared tests for unsupported OSs and OS families

Change-Id: I3b147fc1cfd2483cb66049227a6723e815be03cb
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoShare test logic for unsupported OS families #17 60/55360/1
Daniel Farrell [Mon, 26 Jan 2015 20:12:31 +0000 (15:12 -0500)]
Share test logic for unsupported OS families #17

Change-Id: I05e583930db11d8c1241db25ea58b15946339ef9
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoShare test logic for unsupported OSs #17 59/55359/1
Daniel Farrell [Mon, 26 Jan 2015 20:10:43 +0000 (15:10 -0500)]
Share test logic for unsupported OSs #17

Change-Id: Iea1fc8d4058ad0d569157321e5eeb157915b38d1
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRemoved deprecated tests dir. Closes #22 58/55358/1
Daniel Farrell [Mon, 26 Jan 2015 19:59:00 +0000 (14:59 -0500)]
Removed deprecated tests dir. Closes #22

Change-Id: Ia23c1a3ea30464c3d171da31482b0ac10e641be2
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRemoved unused lib dir. Closes #20 57/55357/1
Daniel Farrell [Mon, 26 Jan 2015 19:19:52 +0000 (14:19 -0500)]
Removed unused lib dir. Closes #20

Change-Id: I504b403ae5921da4dc921cd23d28e4a9285d4e1a
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRemoved unused static files dir 56/55356/1
Daniel Farrell [Mon, 26 Jan 2015 19:18:08 +0000 (14:18 -0500)]
Removed unused static files dir

Change-Id: I8a56cc4b37e28896d390c7b479bff924846079bb
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoExtract common tests for valid OSs #17 55/55355/1
Daniel Farrell [Mon, 26 Jan 2015 19:07:08 +0000 (14:07 -0500)]
Extract common tests for valid OSs #17

Change-Id: I46e079030831026d7cef8f9b7e0ec212681a3b7e
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoGeneral refactoring of ODL class params 54/55354/1
Daniel Farrell [Mon, 26 Jan 2015 16:30:45 +0000 (11:30 -0500)]
General refactoring of ODL class params

- Added param to accept Karaf features to install
- Removed unnecessary pkg/service name params
- Other minor docs cleanup

Change-Id: Ib0560197e5ab7d2a6b55cb957793fdbfa72cadde
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdded more Beaker tests for ODL dir/Karaf features file 53/55353/1
Daniel Farrell [Mon, 26 Jan 2015 16:13:25 +0000 (11:13 -0500)]
Added more Beaker tests for ODL dir/Karaf features file

Change-Id: I8097aa40bad5a387814a23f612d54ae980deb689
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>