Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

This aids installation of Cloudprovisioner plugins.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 files
Octocat-spinner-32 lib
Octocat-spinner-32 manifests
Octocat-spinner-32 spec
Octocat-spinner-32 tests
Octocat-spinner-32 CHANGELOG
Octocat-spinner-32 LICENSE
Octocat-spinner-32 Modulefile
Octocat-spinner-32 README.md
README.md

lib_puppet module

This module is provides a way to identify lib/puppet path via facter and manage files in that directory.

Usage

This is used to work around an issue with puppet face. In the face module symlink files/lib to ../lib

$ tree puppetlabs-demo_face
.
├── Modulefile
├── README.md
├── files
│   └── lib -> ../lib
├── lib
│   └── puppet
│       ├── application
│       │   └── ...
│       ├── face
│       │   └── ...
│       └── demo_face.rb

In the manifests to push the entire lib directory to lib/puppet:

lib_puppet { 'demo_face.rb':
  ensure => present,
}

lib_puppet { [ 'application', 'face' ]:
  ensure  => present,
  recurse => true,
}
Something went wrong with that request. Please try again.