Skip to content

nickschuch/puppet-rancher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Puppet - Rancher

Build Status

Overview

A manifest with the goal of aiding setup of the Rancher projects.

https://github.com/rancherio/rancher

Puppet Forge

https://forge.puppetlabs.com/nick/rancher

Demo manifest

https://github.com/nickschuch/puppet-rancher-demo

Usage

Management node

include rancher::management

Docker Node

rancher::node { 'example_node':
  management         => '10.0.1.2',
  registration_token => '5074AF5E431560691B8F1457978400000:UZRKUYcESSHKpOTERoOPPor7QY',
}

To add a Docker Node on the Management server

rancher::node { 'manager_node':
  management         => '10.0.1.2',
  registration_token => '5074AF5E431560691B8F1457978400000:UZRKUYcESSHKpOTERoOPPor7QY',
  docker_env         => ["CATTLE_AGENT_IP=${::ipaddress}"]
}

Requirements

We require the following Puppet modules.

Testing

To run the tests:

gem install bundler
bundle install
bundle exec rake test
export BEAKER_destroy=no
bundle exec rspec spec/acceptance

Thanks

A big thanks goes out to the contributors of the required Puppet modules and also the Rancher team.

About

A puppet manifest for managing Rancher

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •