I have a file whose contents are something like below:
node 'sghjknch16' {
include vmware
include sudo
include sssd
include hardening
include hpom
include tidal
include tibco-mft-ps
include jboss
include cmd-medical-app
include accounts
realize (Accounts::User[ 'jboss' ])
realize (Accounts::Group[ 'jboss' ])
include jboss
class { sshd:
x11Forwarding => 'yes',
addressFamily => 'inet',
allowgroups => ['JBOSS-LO'],
}
I want to get all the 'include' lines between the {} after the node declaration
Something like:
node 'sghjknch16'
include vmware
include sudo
include sssd
include hardening
include hpom
include tidal
include tibco-mft-ps
include jboss
include cmd-medical-app
include accounts
include jboss