bradawk1
bradawk1
Figured it out! I just need to remove '[]' from overriddenSettings! :)
Because I'm still trying to learn jq. :) That gets me real close. It is printing out the firmware version for each server, but the serverName is just printing null....
Thanks! I was playing around with saving serverName as $name, but was not quite getting it correct. I'm off next week, but I'll give it a try the following week...
I got it working. `jq -r '.members[] | select(.serverModel == "ProLiant DL380 Gen10" | .serverName as $name | .components[] | select(.componentName == "System ROM") | {serverName: $name, componentVersion}' firmware-all` Thanks!...
Oh shoot! So simple. Thanks! It always helps to have another set of eyes looking. :)
Never mind. I figured out I don't need to supply the unique account ID. The iLO interface picks it out.
This is still an issue. I'm trying `salt -C 'bb* and G@productname:ProLiant DL380 Gen10' test.ping` and it does not work. Have replaced the spaces with \s and it does not...
Got it worked out. In my file/sudoers.template I put in: `{{ SID}} ALL = (ALL) ALL`. In my state file, I added: `{% for sid in ['user1', 'user2', 'user3' ]...
I'd like to get the list of users out of the salt state so that I don't have to change the salt state every time a users comes or goes....
My jinja for loop has been working fine. Can close this. Thanks!