How do I only show the output of /var/www/html/index.html from the file called file.pp as shown below:
file {'/var/www/html/index.html':
ensure => 'file',
content => "Hello World!\n",
}
So far I can only get it to show the output '/var/www/html/index.html': by using the command
cat file.pp | grep file | awk -F '{' '{print $2}'
I only want it to show /var/www/html/index.html