Skip to content

Brainsware/puppet-wintersmith

Repository files navigation

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with wintersmith
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module

Overview

This module helps install wintersmith and maintain any number of wintersmith sites.

Module Description

This module depends on nodejs to install wintersmith, and vcsrepo to actually checkout your blog!

Setup

include wintersmith

Usage

after that, we can define a blog:

wintersmith::site { 'blag':
  ensure => 'latest',
  source => 'git://github.com/igalic/blag',
  target => '/srv/web/blag.esat',
}

Reference

wintersmith class

package_name Package name of wintersmith. (Default: wintersmith)

package_ensure Ensure wintersmith package is installed (or uninstalled or in a specific version. (Default: present)

path Default Exec path (where to find the wintersmith binary) (Default: /usr/bin:/bin:/usr/local/bin)

wintersmith::site defined type

ensure Ensure vcs is present (or absent, or latest). (Default: present)

source source URI to the vcs repository. (This parameter must be set)

target target dir where to put the vcs repository. (This parameter must be set)

vcs_provider VCS provider. (Default: git)

vcs_revision VCS revision. (Default: master)

Limitations

Tested on Ubuntu. If vcsrepo, and npm runs on it, and you can adapt the path, it should on run on your OS!

Development

Fork, branch, patch, pull request, etc.

About

A module to deploy any number of Wintermsith sites

Resources

License

Stars

Watchers

Forks

Packages

No packages published