Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

puppet file server and custom mount issue

his is more of a question for the custom mount point which is on the same lines as above.

I have the following on the puppet master

[service_misc] 
path /opt/service/scripts/misc
allow *

On the puppet agent I run the command

sudo puppet apply--write-catalog-summary -e "file {'/home/virtual/test.sh': ensure => file, recurse => remote, owner  => 'root', group => 'root', source => 'puppet:///service_misc/test.sh', mode => 755, replace => 'yes',}"

I see the following error

Error:
/Stage[main]/Main/File[/home/virtual/test.sh]:
Could not evaluate: Could not retrieve information from environment
production source(s) puppet:///service_misc/test.sh

Not sure what I am doing wrong.

-Narahari