Host is Windows 8 I prepared a shell script which execute secure_mysql_installation This is the folders structure
c:\myproject\ Vagranfile puppet\ files\ secure_mysql.sh mainfests\ init.pp
This is my puppet code to copy the local host shell script to vagrant box
class secure_mysql_installation { file { '/tmp/secure_mysql.sh': source => 'puppet:///files/secure_mysql.sh', ensure => present, } }
When vagrant up, it gave me an error ==> default: Error: /Stage[main]/Secure_mysql_installation/File[/tmp/secure_mysq l.sh]: Could not evaluate: Cannot find file: Invalid mount 'secure_mysql.sh' Cou ld not retrieve file metadata for puppet:///files/secure_mysql.sh: Cannot find file: I nvalid mount 'secure_mysql.sh'