github team repo
Overview
Allows you to manage the repo’s that are visible by team memembers. Here is an example on how to add a repository to a team.
github_team_repo { 'acount/organization/team:owner/repo':
ensure => 'present',
permissions => 'pull',
}
Attributes
Attribute Name | Short Description |
---|---|
credentials | The credentials to use for github operations. |
ensure | The basic property that the resource should be in. |
id | For internal use only. |
name | The full name of the team repo. |
organization | The name of the organization. |
permissions | The permissions the team has on the repository. |
provider | resource. |
repository | The name of the repository. |
team | The name of the team. |
credentials
The credentials to use for github operations. This parameter is extracted from the full name. No need to specify it in the body of the puppet type.
This is the first part of the title of all github types
github_repo { 'credentials/....':
...
}
The credentials must first be specfied by using github_credentials
Back to overview of github_team_repo
ensure
The basic property that the resource should be in.
Valid values are present
, absent
. Back to overview of github_team_repo
id
For internal use only. Don’t use!
Back to overview of github_team_repo
name
The full name of the team repo. The full name consists of the
- autorisation
- organization
- team
- owner
- repo
Here is an example:
github_team_repo { ‘autorisation/organization/team:owner/repo’: … }
Puppet will map these values to the right puppet parameters.
Back to overview of github_team_repo
organization
The name of the organization. This parameter is extracted from the full name. No need to specify it in the body of the puppet type.
Back to overview of github_team_repo
permissions
The permissions the team has on the repository. Here is an example:
github_team_repo { ‘acount/organization/team:owner/repo’: … permissions => ‘pull’, … }
Valid values are admin
, push
, pull
. Back to overview of github_team_repo
provider
The specific backend to use for this github_team_repo
resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.Available providers are:
- simple
- Manage github team repositories through puppet
Back to overview of github_team_repo
repository
The name of the repository. This parameter is extracted from the full name. No need to specify it in the body of the puppet type.
Back to overview of github_team_repo
team
The name of the team. This parameter is extracted from the full name. No need to specify it in the body of the puppet type.