Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 0520d37713
Fetching contributors…

Cannot retrieve contributors at this time

64 lines (46 sloc) 2.092 kB

Razor Module

Puppet Razor module will perform the installation of Razor on Ubuntu Precise system. See blog post.

Dependencies

The puppet module tool in Puppet Enterprise 2.5.0+ and Puppet 2.7.14+ resolves dependencies automatically.

Puppet module dependencies for razor module:

Installation

Install puppetlabs-node_gce module and dependencies into module_path:

$ puppet module install puppetlabs-razor
Preparing to install into /etc/puppet/modules ...
Downloading from http://forge.puppetlabs.com ...
Installing -- do not interrupt ...
/etc/puppet/modules
└─┬ puppetlabs-razor (v0.1.4)
  ├─┬ puppetlabs-mongodb (v0.0.1)
  │ └── puppetlabs-apt (v0.0.3)
  ├── puppetlabs-nodejs (v0.2.0)
  ├── puppetlabs-stdlib (v2.3.2)
  ├── puppetlabs-tftp (v0.1.1)
  ├── puppetlabs-vcsrepo (v0.0.4)
  └── saz-sudo (v2.0.0)

Puppet apply, apply test manifests:

puppet apply razor/tests/init.pp

Puppet master, add razor class to target node:

node razor_system {
  class { 'sudo':
    config_file_replace => false,
  }
  include razor
}

Parameters

  • username: razor daemon username, default: razor.
  • directory; installation target directory, default: /opt/razor.
  • ruby_version: ruby version, supports 1.8.7 and 1.9.3, default: 1.9.3.
  • address: razor.ipxe chain address, default: facter ipaddress.

    class { 'razor': directory => '/usr/local/razor', ruby_version => '1.8.7', }

Usage

See Razor and Razor wiki pages

Jump to Line
Something went wrong with that request. Please try again.