Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

Facing issues with File resouce with folder name called "environment"

$
0
0
I am trying to recursively transfer files from puppet master to my agents with inbuilt fileservers. I am having directory name called "configuration" which having few files and directories.One of that directories called "environment" which is not been transferred to my agents.but I able to transfer all other files with the following errors. Error: Could not set 'file' on ensure: Error 404 on SERVER: {"message":"Not Found: file1.txt is not a known environment","issue_kind":"RESOURCE_NOT_FOUND"} Error: Could not set 'file' on ensure: Error 404 on SERVER: {"message":"Not Found: file1.txt is not a known environment","issue_kind":"RESOURCE_NOT_FOUND"} Wrapped exception: Error 404 on SERVER: {"message":"Not Found: file1.txt is not a known environment","issue_kind":"RESOURCE_NOT_FOUND"} Error: /Stage[main]/Platform::Configuration::Test1/File[/opt/pe-platform-test/test2/file1.txt]/ensure: change from absent to file failed: Could not set 'file' on ensure: Error 404 on SERVER: {"message":"Not Found: file1.txt is not a known environment","issue_kind":"RESOURCE_NOT_FOUND"} here class platform::configuration::test1 { file{"/opt/pe-platform-test/test2": ensure=>"directory", source=> "puppet://puppetmaster.sample.net/puppet_plat_shared/configuration", source_permissions=>"use", replace=>"true", recurse=>"remote", } } In my code "puppet_plat_shared" denotes "/home/SharedData/Shared"

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>