Hein-Pieter van Braam 8f8471cc36 Also do Puppet 4 tests. | 8 лет назад | |
---|---|---|
files | 9 лет назад | |
manifests | 8 лет назад | |
spec | 8 лет назад | |
templates | 9 лет назад | |
.fixtures.yml | 9 лет назад | |
.gitignore | 8 лет назад | |
.gitlab-ci.yml | 8 лет назад | |
.rspec | 9 лет назад | |
CHANGELOG.md | 9 лет назад | |
Gemfile | 9 лет назад | |
Guardfile | 9 лет назад | |
README.md | 9 лет назад | |
Rakefile | 9 лет назад | |
metadata.json | 9 лет назад |
A one-maybe-two sentence summary of what the module does/what problem it solves. This is your 30 second elevator pitch for your module. Consider including OS/Puppet version it works with.
If applicable, this section should have a brief description of the technology the module integrates with and what that integration enables. This section should answer the questions: "What does this module do?" and "Why would I use it?"
If your module has a range of functionality (installation, configuration, management, etc.) this is the time to mention it.
If your module requires anything extra before setting up (pluginsync enabled, etc.), mention it here.
The very basic steps needed for a user to get the module up and running.
If your most recent release breaks compatibility or requires particular steps for upgrading, you may wish to include an additional section here: Upgrading (For an example, see http://forge.puppetlabs.com/puppetlabs/firewall).
Put the classes, types, and resources for customizing, configuring, and doing the fancy stuff with your module here.
Here, list the classes, types, providers, facts, etc contained in your module. This section should include all of the under-the-hood workings of your module so people know what the module is touching on their system but don't need to mess with things. (We are working on automating this section!)
ceph
: Main classceph::params
: Manages ceph parameters.ceph::install
: Manages ceph installation.ceph::config
: Manages ceph configuration.ceph::mon
: Ceph monitor setup.ceph::osd
: Ceph OSD setup.ceph::osd_disk
: Type to manage ceph osd disk.package_name
Name of ceph package.
osd_disks
OSD resource hash.
fsid
Cluster's FSID. Required.
monitor_hosts
Required.
public_network
Required.
cluster_network
Default: undef.
mon_port
Monitor port.
auth_cluster_required
auth_service_required
auth_client_required
osd_journal_size
filestore_xattr_use_omap
osd_pool_default_size
osd_pool_default_min_size
osd_pool_default_pg_num
osd_pool_default_pgp_num
osd_crush_chooseleaf_type
is_admin
Boolean if admin node. Default: false.
is_mon
Boolean if monitor node. Default: false.
repo_url
Ceph rpm repo baseurl.
This is where you list OS compatibility, version compatibility, etc.
Install gems for development and testing.
$ bundle install
Run rspec tests
$ bundle exec rake spec
Validate puppet syntax and puppet-lint
$ bundle exec rake validate
Run acceptance tests. This requires vagrant and virtualbox.
$ bundle exec rake acceptance