Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
PUP 3.8.7, PUP 4.5.2
-
None
-
Ruby 2.1, Linux
-
-
0
-
Client 2016-06-29, Client 2016-07-13 (HA, 1.5.3)
-
Bug Fix
-
Description
When using the static_compiler terminus with a resource definition like the following:
file { '/tmp/somedir':
|
ensure => directory,
|
owner => 'root',
|
group => 'root',
|
links => 'manage',
|
mode => '0644',
|
recurse => true,
|
source => 'puppet:///modules/mymodule/somedir/',
|
}
|
When the source directory contains a symlink, catalog application aborts because the symlink has no target:
Error: /Stage[main]/Mymodule::Myclass/File[/tmp/somedir/foo]/ensure: change from absent to link failed: Cannot create a symlink without a target
|
I have a patch for this bug that I will send in via GitHub shortly. Unfortunately, writing an rspec test to check for this condition is beyond my grasp of Ruby.
Attachments
Issue Links
- relates to
-
PUP-5978 Deprecate static compiler
-
- Closed
-