puppet资源yumrepo详细介绍(附案例)
Attributesyumrepo { 'resource title':
name => # (namevar) The name of the repository.This corresponds to
baseurl => # The URL for this repository. Set this to...
cost => # Cost of this repository. Set this to `absent` to
descr => # A human-readable description of the repository...
enabled => # Whether this repository is enabled, as...
enablegroups => # Whether yum will allow the use of package groups
exclude => # List of shell globs. Matching packages will...
failovermethod=> # The failover methode for this repository; should
gpgcheck => # Whether to check the GPG signature on packages...
gpgkey => # The URL for the GPG key with which packages from
http_caching => # What to cache from this repository. Set this to...
include => # The URL of a remote file containing additional...
includepkgs => # List of shell globs. If this is set, only...
keepalive => # Whether HTTP/1.1 keepalive should be used with...
metadata_expire => # Number of seconds after which the metadata will...
mirrorlist => # The URL that holds the list of mirrors for this...
priority => # Priority of this repository from 1-99. Requires...
protect => # Enable or disable protection for this...
proxy => # URL to the proxy server for this repository. Set
proxy_password=> # Password for this proxy. Set this to `absent` to
proxy_username=> # Username for this proxy. Set this to `absent` to
s3_enabled => # Access the repo via S3. Set this to `absent` to...
sslcacert => # Path to the directory containing the databases...
sslclientcert => # Pathto the SSL client certificate yum should...
sslclientkey => # Path to the SSL client key yum should use to...
sslverify => # Should yum verify SSL certificates/hosts at all.
timeout => # Number of seconds to wait for a connection...
# ...plus any applicable metaparameters.
}
页:
[1]