Skip to content
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

add openSUSE 12.3 platform #30

Merged
merged 1 commit into from
May 20, 2013
Merged

Conversation

iartarisi
Copy link
Contributor

No description provided.

@iartarisi
Copy link
Contributor Author

There is a problem here with ohai confusing the opensuse/sles platform names and reporting both as platform 'suse'. We're trying to remedy this in ohai, but I'm not sure how it should be handled in fauxhai in the meantime.

@iartarisi
Copy link
Contributor Author

Just wanted to add that I tested this in a cookbook with ChefSpec and it works as expected i.e. using {:platform => "opensuse", :version => "12.3"}. So I don't think the ohai issue affects this.

@jaypipes
Copy link

++

sethvargo pushed a commit that referenced this pull request May 20, 2013
@sethvargo sethvargo merged commit 71f1c65 into chefspec:master May 20, 2013
@iartarisi
Copy link
Contributor Author

Would it be possible to release a new version of fauxhai including this commit, please? That would help a lot in our CI setup.

@sethvargo
Copy link
Contributor

@mapleoin I don't have to. Fauxhai is written in such a way that it will download this new system, if specified.

@sethvargo
Copy link
Contributor

@iartarisi
Copy link
Contributor Author

Hm... that doesn't seem to be working:

::OPENSUSE_OPTS = {
:platform => "opensuse",
:version => "12.3",
:log_level => ::LOG_LEVEL
}

...

Failure/Error: @chef_run = ::ChefSpec::ChefRunner.new ::OPENSUSE_OPTS
Errno::ENOENT:
No such file or directory - /home/mapleoin/cookbooks/keystone/.bundle/ruby
/1.9.1/gems/fauxhai-1.0.0/lib/fauxhai/platforms/opensuse/12.3.json

@sethvargo
Copy link
Contributor

Fixed. 1.1.0

@iartarisi
Copy link
Contributor Author

Awesome, thanks a lot!

@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants