Skip to content

Instantly share code, notes, and snippets.

file { 'gateway-folders':
path => [ '/opt/gateway/', '/opt/gateway/bin', '/opt/gateway/lib', '/opt/gateway/sbin', '/opt/gateway/etc', '/opt/gateway/var' ],
ensure => directory,
}
Error: Failed to apply catalog: Parameter path failed on File[gateway-folders]: File paths must be fully qualified, not '/opt/gateway//opt/gateway/bin/opt/gateway/lib/opt/gateway/sbin/opt/gateway/etc/opt/gateway/var' at /etc/puppet/environments/production/modules/gateway/manifests/init.pp:18