PowerShell / JEA

Just Enough Administration
http://aka.ms/JEAdocs
MIT License
258 stars 60 forks source link

Resource availability on PowerShell gallery #33

Open anwather opened 6 years ago

anwather commented 6 years ago

Can we get this put on the PowerShell gallery? @rpsqrd

rpsqrd commented 6 years ago

I don't have any capacity right now to drive that work, but I'd be in full support of onboarding this to the DSC Resource Kit, which would help it get published on the gallery (and increase visibility). Is that something you could help with?

Edit: I can certainly help along the way, I just won't be able to drive it E2E.

anwather commented 6 years ago

Would like to - just have to find some time - maybe Q4

hackjammer commented 6 years ago

As a potential user - it makes it much more difficult to use if it's not easily downloadable format - getting this properly supported and in the gallery is important, particularly given that it is a recommended way of setting up JEA in the official documentation.

jnury commented 6 years ago

@rpsqrd There is a xJEA DSCResource in the resource kit: https://github.com/PowerShell/xJea

It seems to me that it's an 'old' fashion to build JEA Endpoint (aka pre-PS5). How can we deal with it ?

I'm back with some spare time. I'll start with fixing some openend issues, and after that I'll try to bring up a decent release pipeline (I have to figure out how to do integration tests with an AD and AppVeyor).

rpsqrd commented 6 years ago

You're correct -- it's the proof of concept that led to the JEA we know today. We're okay to pave the xJea resource and replace it with a new, PS 5.1+ implementation. We just need to be clear in the PR that it's a major version and breaking change. We can update the README with information about how to download the old version with the -RequiredVersion parameter if someone wants the previous implementation.

Alternatively, we could just go for a proper DSC resource (e.g. JeaDsc) that meets all of the high quality DSC resource requirements. I'm fine either way.

anwather commented 6 years ago

HQRM looks to be the way to go

anwather commented 6 years ago

I have a bit of spare time for this - I can at least set up the template resource with some basic tests - I might just create a new repo for this and then can merge it all later -

rpsqrd commented 6 years ago

I'm following up with the DSC team to see if they have any preference for how we release a new resource. I'll keep this thread posted and get some of the logistics set up once I have an answer.

One change @commonsensesoftware suggested that I think is great is to add the "Ensure = Present|Absent" property so we can help people _un_configure JEA if they need to.

I'm also interested in hearing everyone's thoughts on also adding a role capability resource so users don't have to create them out of band and copy the files to the target machines.

jnury commented 6 years ago

Ensure = Present|Absent -> Yes ! JEARoleCapabilitiesDSC -> Yes !

jnury commented 6 years ago

@rpsqrd : logistics = build process and Unit Testing VMs ? :-)

ChrisLGardner commented 6 years ago

Is there any progress on getting this into the gallery. I'd love to start using this but without it being in the gallery I can't really add it to my build pipeline and I don't really want to drop back to xjea if I don't have to.