integration/packaging/puppet-opendaylight.git
7 years agoAdd info about tests in CI to contrib docs 09/55509/1
Daniel Farrell [Fri, 24 Apr 2015 15:14:50 +0000 (11:14 -0400)]
Add info about tests in CI to contrib docs

Change-Id: I5b043f2a740ddd3feb26147e5adb770e45594a7f
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoMinor cleanup of Beaker docs for clarity 08/55508/1
Daniel Farrell [Fri, 24 Apr 2015 15:04:02 +0000 (11:04 -0400)]
Minor cleanup of Beaker docs for clarity

* Relevant to #64

Change-Id: Ibd0f03166253a10af657d2a581aafbf2832ad49b
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoMinor updates to Issues section of contrib docs 07/55507/1
Daniel Farrell [Fri, 24 Apr 2015 14:57:25 +0000 (10:57 -0400)]
Minor updates to Issues section of contrib docs

Change-Id: I7a3e9b3bf9976eb92d5c8a28155c94e9b1d1e478
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoMinor updates to contributing docs 06/55506/1
Daniel Farrell [Fri, 24 Apr 2015 14:48:34 +0000 (10:48 -0400)]
Minor updates to contributing docs

* Update index for new section headers
* Relevant to #64

Change-Id: Ieda33f7a2d17814a6eeaf9311b61f8b75d4813c3
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoMajor refactoring of testing contributing docs 05/55505/1
Daniel Farrell [Fri, 24 Apr 2015 14:40:35 +0000 (10:40 -0400)]
Major refactoring of testing contributing docs

* Re-write of all sections (deps, style, unit, system)
* Relevant to #64

Change-Id: I4e352f1ff0adb22d3c51dcf7fcbe1d3162128af0
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoMinor spelling fixes in README 04/55504/1
Daniel Farrell [Fri, 24 Apr 2015 05:21:00 +0000 (01:21 -0400)]
Minor spelling fixes in README

* Relevant to #77

Change-Id: I9660d63dd3fc6b3274bba20c69f45b485940c381
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd README docs on failing F21 Beaker tests 03/55503/1
Daniel Farrell [Fri, 24 Apr 2015 05:11:52 +0000 (01:11 -0400)]
Add README docs on failing F21 Beaker tests

* Likely an issue with Vagrant image, not Puppet mod
* Relevant to issue #63

Change-Id: I7bee26a047c58044cec0d18d79df9a3a5104871b
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRemove ref to removed contributors file in README 02/55502/1
Daniel Farrell [Fri, 24 Apr 2015 05:09:20 +0000 (01:09 -0400)]
Remove ref to removed contributors file in README

* Also mentioned git commit history, the real source of truth

Change-Id: If52cd6c15eafc9657e6ddb9b9b5319e40eac1be0
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRemoved unused, out-of-date contributors list file 01/55501/1
Daniel Farrell [Fri, 24 Apr 2015 05:06:31 +0000 (01:06 -0400)]
Removed unused, out-of-date contributors list file

* Just use Git commit history

Change-Id: Ie58c352ae29aad7254eba4f4a45adfed542be0d3
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate index of contributing docs to reality 00/55500/1
Daniel Farrell [Fri, 24 Apr 2015 05:03:20 +0000 (01:03 -0400)]
Update index of contributing docs to reality

Change-Id: Icb4e347f42e351cd56ec946069effab5bc544bde
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoFirst pass at updating testing contributing docs 99/55499/1
Daniel Farrell [Fri, 24 Apr 2015 04:45:21 +0000 (00:45 -0400)]
First pass at updating testing contributing docs

* Mostly just reformatted, removed wrong/old/useless content
* Still needs attention
* Relevant to #64

Change-Id: I457fe86e445b56205002da0cf788a5236177543f
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRemove unused, unsupported, Guardfile 98/55498/1
Daniel Farrell [Fri, 24 Apr 2015 04:28:42 +0000 (00:28 -0400)]
Remove unused, unsupported, Guardfile

Change-Id: If7f12a64d3df59113c260750697c642f7738415e
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdated PR-related info in contributing docs 97/55497/1
Daniel Farrell [Fri, 24 Apr 2015 02:20:06 +0000 (22:20 -0400)]
Updated PR-related info in contributing docs

Change-Id: I03735a6c069cdbe6a43db376f3fdfb210ad78fed
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoTrivial spelling fix in contrib docs 96/55496/1
Daniel Farrell [Mon, 20 Apr 2015 05:56:15 +0000 (01:56 -0400)]
Trivial spelling fix in contrib docs

Change-Id: Icf5395f08105309bd21b3c77301be4f97f053f95
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoBugfix in some links in contributing docs 95/55495/1
Daniel Farrell [Mon, 20 Apr 2015 05:41:28 +0000 (01:41 -0400)]
Bugfix in some links in contributing docs

* Some docs were copied from my vagrant-odl project

Change-Id: Ibeb9791becbc78232624638458704bca83455307
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoProper Markdown extension for contributing docs 94/55494/1
Daniel Farrell [Tue, 14 Apr 2015 02:43:04 +0000 (22:43 -0400)]
Proper Markdown extension for contributing docs

* The .md extension is used for GCC machine descriptions
* http://superuser.com/questions/249436/file-extension-for-markdown-files

Change-Id: I6225c958173e8a15444d54723f96297b587a9e8d
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoMajor refactoring of contributing documentation 93/55493/1
Daniel Farrell [Tue, 14 Apr 2015 02:35:05 +0000 (22:35 -0400)]
Major refactoring of contributing documentation

* Better overview of contributing to the project
* Add communication info, including Issues and Gitter
* Better PR submission docs
* Initial index
* Put most of the old content in a new testing sub-section

Change-Id: Ib001fac851afd14ee408dcd3b2f715a86af56335
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate limitations to reflect Ubuntu support 92/55492/1
Daniel Farrell [Thu, 9 Apr 2015 21:56:56 +0000 (17:56 -0400)]
Update limitations to reflect Ubuntu support

Change-Id: Iee44673b6174f6cbddbccb2973dc3bd19702afcc
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoBugfix in Ubuntu Upstart config, ODL service gtg 91/55491/1
Daniel Farrell [Wed, 8 Apr 2015 17:08:35 +0000 (13:08 -0400)]
Bugfix in Ubuntu Upstart config, ODL service gtg

* The Upstart file wasn't being installed correctly
* Relevant to #72
* We now have proper Ubuntu 14.04 support, huzzah!

Change-Id: Iccd00e35e0a33d43ee9e31225e475ddcc2e40aa7
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd CentOS tarball install to acceptance rake task 90/55490/1
Daniel Farrell [Tue, 7 Apr 2015 18:15:04 +0000 (14:15 -0400)]
Add CentOS tarball install to acceptance rake task

Change-Id: Ie953ffff1b7fcb2eeb7215b83d4769ea04aa8992
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoDon't continue when Beaker stdlib install fails 89/55489/1
Daniel Farrell [Mon, 6 Apr 2015 21:48:22 +0000 (17:48 -0400)]
Don't continue when Beaker stdlib install fails

Change-Id: Ie9f38c4935388caab61c92c7580587c5f13dcfa9
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate to OpenDaylight 0.2.3 SR3 88/55488/1
Daniel Farrell [Mon, 6 Apr 2015 21:47:32 +0000 (17:47 -0400)]
Update to OpenDaylight 0.2.3 SR3

Change-Id: If63b8d5302e7f011808de95924bdd3bd1180868e
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd default install method (RPM) for Fedora Rakes 87/55487/1
Daniel Farrell [Mon, 6 Apr 2015 14:53:07 +0000 (10:53 -0400)]
Add default install method (RPM) for Fedora Rakes

Change-Id: Ieac2489bd09a68c577b96ef8fe91a74b05b2bcc3
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRemoved unnecessary .gitkeep 86/55486/1
Daniel Farrell [Tue, 31 Mar 2015 17:58:15 +0000 (13:58 -0400)]
Removed unnecessary .gitkeep

Change-Id: Iddd76a11c0ceee211f3b7af5f2733e7d2c2017a0
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoIgnore third party resource in rspec coverage 85/55485/1
Daniel Farrell [Tue, 31 Mar 2015 17:54:26 +0000 (13:54 -0400)]
Ignore third party resource in rspec coverage

* We don't own that code, can't test it

Change-Id: I82c5aa23df87e22b1f43d087821264b5ea1fb950
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd rspec-puppet tests for ODL REST port 84/55484/1
Daniel Farrell [Tue, 31 Mar 2015 17:51:32 +0000 (13:51 -0400)]
Add rspec-puppet tests for ODL REST port

* Hook into previously added rspec helper method
* Minor bugfix in odl rest port test rspec-puppet helper
* Closes #47

Change-Id: I20a7c3d195a52aa6acabfe6b1eb82ff500d7c902
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoTrivial doc fix 83/55483/1
Daniel Farrell [Tue, 31 Mar 2015 17:42:22 +0000 (13:42 -0400)]
Trivial doc fix

Change-Id: Ic6943d3a92bfd43253ca414b5cd59a2f74e619c9
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRemoved unused section from README index 82/55482/1
Daniel Farrell [Tue, 31 Mar 2015 06:06:12 +0000 (02:06 -0400)]
Removed unused section from README index

Change-Id: I0b670140b2c6397ac1abc3780c2595112f3d1048
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd rspec-puppet helper for testing ODL REST port 81/55481/1
Daniel Farrell [Tue, 31 Mar 2015 05:22:34 +0000 (01:22 -0400)]
Add rspec-puppet helper for testing ODL REST port

* Relevant to #47

Change-Id: I997c1cfdcae2bfe700b69c5a60804e3166c55844
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoDon't do yum-specific checks for non-RH OSs 80/55480/1
Daniel Farrell [Tue, 31 Mar 2015 05:40:13 +0000 (01:40 -0400)]
Don't do yum-specific checks for non-RH OSs

* Yumrepo checks fail inelegantly on Ubuntu, avoid

Change-Id: Ib341a7019b5127feb89dbdf7256de7e7ace6bfae
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRefactoring/small fixes for Beaker REST port tests 79/55479/1
Daniel Farrell [Tue, 31 Mar 2015 02:33:44 +0000 (22:33 -0400)]
Refactoring/small fixes for Beaker REST port tests

* All Beaker REST port tests now passing
* Related to #67, closes #73

Change-Id: I88396055d71bbe6ccc57be37c4ef3fce9e4a8342
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUse template for REST port config, closes #67 78/55478/1
Daniel Farrell [Tue, 31 Mar 2015 02:32:02 +0000 (22:32 -0400)]
Use template for REST port config, closes #67

Change-Id: I8b66a41c88390c4968a3c011dfff4292b7b84c72
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoFix Java package name for Ubuntu installs 77/55477/1
Daniel Farrell [Wed, 25 Mar 2015 19:56:54 +0000 (15:56 -0400)]
Fix Java package name for Ubuntu installs

Change-Id: I77215fe7beb41e44429109cf57f866354ce9c5c9
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoMade Upstart config more consistent with others 76/55476/1
Daniel Farrell [Wed, 25 Mar 2015 19:29:55 +0000 (15:29 -0400)]
Made Upstart config more consistent with others

* Most of the configs in Beaker box use this style

Change-Id: Ie82740f8d31c87bc8799699f810605ee4fee7006
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoFix minor indentation errors in rspec-puppet tests 75/55475/1
Daniel Farrell [Wed, 25 Mar 2015 19:24:25 +0000 (15:24 -0400)]
Fix minor indentation errors in rspec-puppet tests

Change-Id: Ica08188257f55ff984c61d29112c11b01cd3865a
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoMinor typo bug in architecture fact 74/55474/1
Daniel Farrell [Wed, 25 Mar 2015 19:11:39 +0000 (15:11 -0400)]
Minor typo bug in architecture fact

* This should fix Travis

Change-Id: I62c0d64c954ca5ed87f6535f5ff434ebaff37e1e
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd initial support for Ubuntu 14.04 Beaker tests 73/55473/1
Daniel Farrell [Wed, 25 Mar 2015 18:58:41 +0000 (14:58 -0400)]
Add initial support for Ubuntu 14.04 Beaker tests

* Relevant to #71
* Failing due with Upstart errors and Java errors
* Also port errors, but those are unrelated to Ubuntu

Change-Id: Iba2aaf861708dbc1bcaddf15d3c31c12044fa05e
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoPass alternative fact, required by Java mod 72/55472/1
Daniel Farrell [Wed, 25 Mar 2015 18:22:27 +0000 (14:22 -0400)]
Pass alternative fact, required by Java mod

* Travis (with strict var checking) fails without this
* Worked without this on my local system

Change-Id: Ib4e68d99170af3d5970aecb68d396f6c2af35ba8
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAttempt fixing Travis fail - Use full Puppet URL 71/55471/1
Daniel Farrell [Wed, 25 Mar 2015 17:24:30 +0000 (13:24 -0400)]
Attempt fixing Travis fail - Use full Puppet URL

* Currently using file helper fn, but Travis fails
* Both methods work on my local system

Change-Id: I9fcb59b44fe29d9111b3735d2b9bb4c5e46eaf50
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoDo Karaf/install tests with defaults for all OSs 70/55470/1
Daniel Farrell [Wed, 25 Mar 2015 16:40:29 +0000 (12:40 -0400)]
Do Karaf/install tests with defaults for all OSs

* Only testing defaults! See #43 for reasoning.
* By 'all', of course I mean 'all supported' (others fail)
* Refactored RPM rspec helper fn to support Fedora
* Minor doc fix

Change-Id: Iae3768581644d1b65c265c761b07269ae4e4d82d
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoDo Karaf rspec tests with default values for Deb 69/55469/1
Daniel Farrell [Wed, 25 Mar 2015 16:16:11 +0000 (12:16 -0400)]
Do Karaf rspec tests with default values for Deb

* Only testing defaults! See #43 for reasoning.
* May add this to other OSs

Change-Id: Ie3f2cf6377e4093b3ec6106f2ab88bedcd13117f
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoConvert Karaf tests to use options hash 68/55468/1
Daniel Farrell [Wed, 25 Mar 2015 16:09:32 +0000 (12:09 -0400)]
Convert Karaf tests to use options hash

* Much cleaner logic in main spec file
* Required for calling without knowledge of defaults
* ^^Want that for future refactoring

Change-Id: I35dca936c5f85feb77725c94bcafc17b354b28bc
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd owner:group rspec tests for Karaf file 67/55467/1
Daniel Farrell [Wed, 25 Mar 2015 15:46:17 +0000 (11:46 -0400)]
Add owner:group rspec tests for Karaf file

Change-Id: I090f4e0d9a46e93e341d6dfda249896fc79d897a
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRefactored OS warning/error rspec-puppet tests #70 66/55466/1
Daniel Farrell [Wed, 25 Mar 2015 15:34:42 +0000 (11:34 -0400)]
Refactored OS warning/error rspec-puppet tests #70

Change-Id: I4cf6a34d49bd5d0d3149d60eda19c011729f1435
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoMajor refactoring of rspec-puppet tests for Debian 65/55465/1
Daniel Farrell [Wed, 25 Mar 2015 04:24:35 +0000 (00:24 -0400)]
Major refactoring of rspec-puppet tests for Debian

* Generally refactored rspec tests as added Debain support
* Add basic upstart config and Debian Java pkg tests
* Split install method checks into two functions
* Do systemd/upstart checks based on osfamily for tb installs
* Use nicer options hashes for refactored helper fn params
* Cleans up default tarball/unitfile/yum repo URLs

Change-Id: I11e6eb9b099ad30c4a9759bc3061d24759b2a7dc
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUse file vs template for upstart config 64/55464/1
Daniel Farrell [Wed, 25 Mar 2015 02:25:24 +0000 (22:25 -0400)]
Use file vs template for upstart config

* It's not dynamic ERB, so should be a file

Change-Id: If2aaff04d252e5e320393ea253a56877ee157f73
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoIndentation fix, removed old TODO 63/55463/1
Daniel Farrell [Wed, 25 Mar 2015 00:32:04 +0000 (20:32 -0400)]
Indentation fix, removed old TODO

Change-Id: I37e992307f04dbeda5c93a321ef4dbf8202641f1
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoConnect generic rspec tests to Ubuntu 14.04 tests 62/55462/1
Daniel Farrell [Wed, 25 Mar 2015 00:23:15 +0000 (20:23 -0400)]
Connect generic rspec tests to Ubuntu 14.04 tests

* Fixed issue with missing path for java archive

Change-Id: I04a36aa3ec67da25fa94d55ab9f4d40ed8679752
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoGeneric bugfixes and cleanups for Deb rspec tests 61/55461/1
Daniel Farrell [Tue, 24 Mar 2015 22:18:23 +0000 (18:18 -0400)]
Generic bugfixes and cleanups for Deb rspec tests

Change-Id: I5fb32f659a7d833c9d0faad097ec30054a7ae840
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd basic rspec-puppet for Ubuntu 14.04 60/55460/1
Daniel Farrell [Tue, 24 Mar 2015 21:41:03 +0000 (17:41 -0400)]
Add basic rspec-puppet for Ubuntu 14.04

* Proper connection to unsupported OS versions (14.10..)
* Stub connection to supported OS version tests (only 14.04)

Change-Id: If75097b0a1249fcf18fd82551711490c225545e1
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoSmall formatting cleanup in init.pp 59/55459/1
Daniel Farrell [Tue, 24 Mar 2015 21:40:34 +0000 (17:40 -0400)]
Small formatting cleanup in init.pp

Change-Id: I92f1c101f505bdfd9fbd5b9adaca7debd22aca1e
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoBugfix in Beaker check of port file content #48 58/55458/1
Daniel Farrell [Fri, 20 Mar 2015 19:30:37 +0000 (15:30 -0400)]
Bugfix in Beaker check of port file content #48

Change-Id: Icf75f3f2a1be10d59890c5ccd1dbc2278618c88a
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd Beaker tests for ODL port param #48 57/55457/1
Daniel Farrell [Fri, 20 Mar 2015 19:25:59 +0000 (15:25 -0400)]
Add Beaker tests for ODL port param #48

Change-Id: I50cddaf1a50c1dd8a70de272aa8df7e3461ec614
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd template for ODL NB REST port config #67 56/55456/1
Daniel Farrell [Fri, 20 Mar 2015 19:23:28 +0000 (15:23 -0400)]
Add template for ODL NB REST port config #67

Change-Id: I0b5141813cb2533393fcd8fa1cd5a8a3e4f82568
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoMinor cleanup of upstart conf, add support warning 55/55455/1
Daniel Farrell [Tue, 24 Mar 2015 20:50:31 +0000 (16:50 -0400)]
Minor cleanup of upstart conf, add support warning

* I don't know much about upstart, so can't guarantee quality
* Will attempt to support as best I can, but can't guarantee

Change-Id: I1833161d8fe4dea3620f9b11ecf44356742b10ff
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRemove Debian from unsupported OSs, stub rspec 54/55454/1
Daniel Farrell [Tue, 24 Mar 2015 20:48:31 +0000 (16:48 -0400)]
Remove Debian from unsupported OSs, stub rspec

* Gets `bundle exec rake test` passing
* Relevant to #70

Change-Id: I42d500e24ad8d0c2a782dfac33c27c1aecc46af2
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoTrivial style fix 53/55453/1
Daniel Farrell [Tue, 24 Mar 2015 20:48:21 +0000 (16:48 -0400)]
Trivial style fix

Change-Id: I488d7939e96ef70c2d2aa9d80e969c9258734fa9
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
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>