Closed TheLQ closed 9 years ago
Are you using ruby 1.9?
Yes
root@quackpuppet:/etc/puppet# ruby --version
ruby 1.9.3p484 (2013-11-22 revision 43786) [i686-linux]
root@quackpxe:~# ruby --version
ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]
The module was only ever tested on 1.8. I'll try to make some updates in the next days to get a PR for you to test.
https://github.com/xaque208/puppet-pxe/pull/15
Please check your manifest against the README from that PR. I've all of the test manifests in tests/ and it all seems to work. Thanks for the report. This module has not gotten much attention over the years since its just mostly worked for us. I've tried to update the README to be more accurate with its use cases.
Travis CI testing is relatively slim. The tests are passing, but that doesn't say anything about what is being tested. If you can help in this regard, please do. I'll happily review PRs for this as well. Cheers.
I believe this was resolved in #15
According to the homepage if I want to deploy ubuntu my config needs to look like this
Issue 1: This fails with
resource_permute(): wrong number of arguments (2; must be 3)
So I added the $ubuntu_common hash from
tests/init.pp
:Issue 2: This fails with
undefined method 'each' for "ubuntu":String
. I tried changing the os to["ubuntu"]
but unsurprisingly this fails withInvalid parameter file
. I'm not sure which way is correctIssue 3: The homepage says to add to
pxe::images
buttests/init.pp
sayspxe::bootstrap
, which fails withInvalid resource type pxe::bootstrap
. I'm assuming the home page is correct but I'm not sureWhat I'm wondering is why the homepage says "Build: Passing" when clearly the tests don't work. It seems travis-ci is only checking for code correctness and style, but not if the tests runs without errors. This seems a little misleading for both you and users.