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

salt.modules.smartos_* limit to global zone only #25982

Merged
merged 1 commit into from Aug 4, 2015
Merged

salt.modules.smartos_* limit to global zone only #25982

merged 1 commit into from Aug 4, 2015

Conversation

sjorge
Copy link
Contributor

@sjorge sjorge commented Aug 3, 2015

smartos_vmadm and smartos_imgadm does not make sense if we are not inside a smartos global zone.

using recently added is_smartos_global zone to check if we are good to go.

@sjorge
Copy link
Contributor Author

sjorge commented Aug 3, 2015

pinging @mguegan

cachedout pushed a commit that referenced this pull request Aug 3, 2015
@mguegan
Copy link

mguegan commented Aug 4, 2015

Hi @sjorge, I'm not sure why are you pinging me (as I can't merge this patch) but anyway it seems totally legit.

@sjorge
Copy link
Contributor Author

sjorge commented Aug 4, 2015

@mguegan I pinged you since you were the original developer of smartos_imgadm/smartos_vmadm.

@mguegan
Copy link

mguegan commented Aug 4, 2015

Yes, sure, but I don't know what can I do to help you ?

@sjorge
Copy link
Contributor Author

sjorge commented Aug 4, 2015

Just a sanity check (as you already did :)) as I do not know the full history of these modules, there may have been something I over looked that this would break. (But seems fine in my few tests)

@mguegan
Copy link

mguegan commented Aug 4, 2015

Ok, thanks for your explanation ! I can't see any drawbacks : imgadm and vmadm are indeed only used inside the GZ.

cachedout pushed a commit that referenced this pull request Aug 4, 2015
salt.modules.smartos_* limit to global zone only
@cachedout cachedout merged commit 8bc9c51 into saltstack:2015.8 Aug 4, 2015
@cachedout
Copy link
Contributor

Nice! Thanks @mguegan and @sjorge !

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

Successfully merging this pull request may close these issues.

None yet

3 participants