You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
shamil
changed the title
Puppet evaluation error in rundeck::config::resource_source
Puppet evaluation error in "rundeck::config::resource_source"
Nov 12, 2017
Affected Puppet, Ruby, OS and module versions/distributions
5.3.2
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]
Ubuntu 16.04 LTS
5.0
How to reproduce (e.g Puppet code you use)
do not specify
directory
option when definingrundeck::config::resource_source
resource.What are you seeing
Puppet evaluation error:
2017-11-11 11:32:31 +0000 Puppet (err): Evaluation Error: Error while evaluating a Resource Statement, Rundeck::Config::Resource_source[test]: parameter 'directory' expects a Stdlib::Absolutepath = Variant[Stdlib::Windowspath = Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], Stdlib::Unixpath = Pattern[/^\/([^\/\0]+\/*)+$/]] value, got String
Any additional information you'd like to impart
directory
value is/
which is not absolute path according toStdlib::Absolutepath
./
, like/tmp/dummy/unused/dir
it works.source_type
isfile
it should not check for thedirectory
option. IMOThe text was updated successfully, but these errors were encountered: