HomePhorge

Stub method for getting roles from the user provider
b3c0f1dab3cfUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Stub method for getting roles from the user provider

Previously, these tests were failing because the Windows user provider
does not implements methods for getting the user's roles. These tests
actually pass on other platforms that don't support
'manages_solaris_rbac', because the Puppet::Provider::NameService
autogenerates default methods for providers that don't implement
getter and setter properties for valid properties.

Since this test is testing the ability for the user to autorequire its
roles (as opposed to testing roles), this commit stubs the roles
method on the provider, enabling the test to run on Windows.

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU006a12830f5d: Set vardir so that msi package provider runs on Windows
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPUb3c0f1dab3cf: Stub method for getting roles from the user provider (authored by Josh Cooper <josh@puppetlabs.com>).Oct 5 2011, 6:12 PM