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

Any one have idea how to check entire file in serverspec for puppet testing

$
0
0
Hi, I know if we need to check the content of a file we use the below `should match /^ test $/` in serverspec. But how can we check the entire file content is copied to the destination file. Example source => 'puppet:///modules/test/test.conf' Below is the config file content test.conf ========== missingok notifempty size 30k yearly create 755 root root The file contains 5 lines, there are files which has more than 50 lines. In that case, how can we do end to end testing in serverspec.

Viewing all articles
Browse latest Browse all 6104

Trending Articles



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