1
1
How do I pass file name as arguments to puppet class? My manifest file is
class new_file ($my_filename){
file { $my_filename:
ensure => present,
content => "I got it, Hello, I am Aura, with new content\n",
}
}
node 'agent1' {
class {new_file: path => "/tmp/t.txt", }
}