Version information
released Jun 25th 2012
This module has been deprecated by its author since Apr 1st 2023.
Start using this module
Documentation
puppetlabs/lib_puppet — version 0.0.1 Jun 25th 2012
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,
}
Copyright (C) 2012 Puppet Labs Inc Puppet Labs can be contacted at: info@puppetlabs.com Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.