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

(MODULES-5898) add admin_only to chocolateysource #135

Merged
merged 1 commit into from
Jan 28, 2019
Merged

(MODULES-5898) add admin_only to chocolateysource #135

merged 1 commit into from
Jan 28, 2019

Conversation

michaeltlombardi
Copy link

Prior to this commit the chocolateysource type and provider did
not support the option to specify the --admin-only flag when
managing a source. This option causes Chocolatey to markthe source
as visible only to admins and was introduced in Chocolatey 0.10.8.

This commit adds the admin_only property to the type and
provider of chocolateysource to ensure that this property
can be configured on versions which support it.

This commit also updates the README documentation and CHANGELOG,
as well as providing new unit and acceptance tests and updating
any unit and acceptance tests which should include the new
setting.

@michaeltlombardi
Copy link
Author

Build is running through adhoc in Jenkins now to validate the new acceptance tests.

@michaeltlombardi michaeltlombardi changed the title (MODULES-5898) add admin_only to chocolateysource WIP: (MODULES-5898) add admin_only to chocolateysource Jan 25, 2019
README.md Outdated

Option to specify whether this source should visible to administrators only.

Requires at least Chocolatey v0.10.8 to set and at least Chocolatey Business Edition v1.12.2 to take effect.
Copy link

@ferventcoder ferventcoder Jan 28, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Chocolatey for Business (C4B)" not "Chocolatey Business Edition"

I would reorder this a bit: "Requires Chocolatey for Business (C4B) v1.12.2+ and at least Chocolatey v0.10.8 for the setting to be respected." That way the commercial edition requirement is noted first.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed!

README.md Outdated

(**Property**: This parameter represents a concrete state on the target system.)

Option to specify whether this source should visible to administrators only.
Copy link

@ferventcoder ferventcoder Jan 28, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Administrators here being "Windows user accounts in the Administrators group", just so there is no confusion about what is meant here.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed!

Copy link

@ferventcoder ferventcoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small requests here.

@michaeltlombardi michaeltlombardi changed the title WIP: (MODULES-5898) add admin_only to chocolateysource (MODULES-5898) add admin_only to chocolateysource Jan 28, 2019
Prior to this commit the `chocolateysource` type and provider did
not support the option to specify the `--admin-only` flag when
managing a source. This option causes Chocolatey to markthe source
as visible only to admins  and was introduced in Chocolatey `0.10.8`.

This commit adds the `admin_only` property to the type and
provider of `chocolateysource` to ensure that this property
can be configured on versions which support it.

This commit also updates the README documentation and CHANGELOG,
as well as providing new unit and acceptance tests and updating
any unit and acceptance tests which should include the new
setting.
@RandomNoun7 RandomNoun7 merged commit e518808 into puppetlabs:master Jan 28, 2019
@michaeltlombardi michaeltlombardi deleted the ticket/master/modules-5898-add-admin-only branch August 16, 2019 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants