Issue #4886 has been updated by Gk Forcare.

Indeed, this was all due to a wrong build after all. Thanks for the work. We 
now found the backports of Debian Squeeze to match our needs.
----------------------------------------
Bug #4886: When I call a define, the $name passed in is 'mangled' to lowercase
https://projects.puppetlabs.com/issues/4886

Author: Gk Forcare
Status: Duplicate
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 2.6.1
Keywords: 
Branch: 


this results in me not being able to deploy scripts like: getWorker.sh as it 
tries to find getworker.sh as the source (named after the name of the define)

This attached class results in this error:
<pre>
err: 
/Stage[main]/Test_issue/Test_issue::Test_issue_file[getWorker1.sh]/File[/usr/local/test_issue/bin/getworker1.sh]:
 Could not evaluate: Could not retrieve information from source(s) 
puppet:///test_issue/getworker1.sh at 
/etc/puppet/modules/test_issue/manifests/init.pp:46
</pre>
(note the case-change of getWorker1.sh to getworker1.sh)

and this is what is in the result directory:
<pre>
ll /usr/local/test_issue/ -R
/usr/local/test_issue/:
total 8
drwxr-xr-x 2 root root 4096 2010-09-30 09:23 bin
drwxr-xr-x 2 root root 4096 2010-09-30 09:23 etc

/usr/local/test_issue/bin:
total 8
-rwxr-xr-x 1 root root  8 2010-09-30 09:23 getWorker2.sh
-rw-r--r-- 1 root root 11 2010-09-30 09:23 worker-lib

/usr/local/test_issue/etc:
total 0
</pre>

I'm running Ubuntu 10.04 with the puppet 2.6.1 master and agent compiled by 
skettler (https://launchpad.net/~skettler/+archive/puppet) This is a test 
environment, when I run the master on 0.25.4 (Ubuntu 8.04), the problem does 
not occur.



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to