Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
This aids installation of Cloudprovisioner plugins.
Puppet Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
files/lib/puppet
lib
manifests
spec
tests
CHANGELOG
LICENSE
Modulefile
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.