jhoblitt / puppet-selenium

Manages Selenium Server 2 - Standalone and Grid
Other
20 stars 49 forks source link

Issue with using both hub and node roles in the same server #45

Closed williamtsoi1 closed 9 years ago

williamtsoi1 commented 9 years ago

Hi,

Using a simple manifest file (https://github.com/williamtsoi1/selenium-puppet/blob/master/manifests/default.pp), and I have the following error:

Error: Duplicate declaration: File[init-script] is already declared in file /home/ubuntu/selenium-puppet/modules/selenium/manifests/config.pp:40; cannot redeclare at /home/ubuntu/selenium-puppet/modules/selenium/manifests/config.pp:40 on node ip-10-70-0-193.ap-southeast-2.compute.internal

Is there some sort of conflict between the selenium::hub and selenium::node classes?

jhoblitt commented 9 years ago

It looks like this was caused by the PR that added debian support #42 . That should have been caught by the acceptance tests as well. It will be an easy fix.

jhoblitt commented 9 years ago

Resolved by #46