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

Handling a 65k+ line yaml file

$
0
0
Hello, I have a yaml file that is about 65,000 lines long. The yaml contains a hash with server user and group relationships. The format is the following: --- permissions: server1: some_group: - user1 - user2 some_group: - user3 - user4 server2: some_group: - user1 - user2 some_group: - user3 - user4 ... My question is, How does puppet read in YAML files, I assume it is using the ruby YAML.load function. How devastating would keeping this file in memory have on the puppet master itself? thanks,

Viewing all articles
Browse latest Browse all 6104

Trending Articles



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