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

The default value ('root') of the owner attribute is not appropriate for Windows platform. #150

Closed
buri17 opened this issue May 28, 2016 · 1 comment

Comments

@buri17
Copy link
Contributor

buri17 commented May 28, 2016

On windows platform, the 'root' user does not exist by default.

I was able to fix by changing ark/resources/default.rb as follows:

attribute :owner, kind_of: String, default: case node['platform_family']
                                            when 'windows'
                                              'Administrator'
                                            else
                                              'root'
                                            end

However, I'm not sure if the above fix is appropriate for the current design.

It seems that some platform-dependent default value is implemented in ark/libraries/resource_default.rb.

@tas50
Copy link
Contributor

tas50 commented Dec 6, 2016

Dupe of #168

@tas50 tas50 closed this as completed Dec 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants