Sha256: 51aafa76700780327ad81344838edaf3113317277902d980ffb85771d62ec317

Contents?: true

Size: 1.88 KB

Versions: 4

Compression:

Stored size: 1.88 KB

Contents

# Kaname

[![Build Status](https://secure.travis-ci.org/hsbt/kaname.png)](https://travis-ci.org/hsbt/kaname)

Kaname(要) is configuration management tool of Keystone.

## Installation

Install it yourself as:

    $ gem install kaname

## Usage

You can define keystone configuration for OpenStack via YAML format. Like following syntax.

```yaml
antipop:
  email: "antipop@example.com"
  tenants:
    production: "cto"
hsbt:
  email: "hsbt@example.com"
  tenants:
    development: "admin"
    production: "member"
```

You need to put fog configuration to home directory.

```sh
% cat ~/.fog
default:
  openstack_auth_url: "http://your-openstack-endpoint/v2.0/tokens"
  openstack_username: "admin"
  openstack_tenant: "admin"
  openstack_api_key: "admin-no-password"
```

run following command.

```sh
$ kaname diff # You can see difference of definition
$ kaname apply # apply configuration into OpenStack
$ kaname apply --dryrun # You can see all of invoke commands(dryrun)
```

You can create user and user's role with tenant.

If you need to initialize your Keystone configuration, you can get it via following command:

```sh
$ kaname dump
```

## Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).

## Contributing

1. Fork it ( https://github.com/hsbt/kaname/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kaname-0.3.3 README.md
kaname-0.3.2 README.md
kaname-0.3.1 README.md
kaname-0.3.0 README.md