Hi,
I am new to puppet and installed puppet standalone in my linux box.
I generated module with command:"puppet module generate test-sample" .
created file in test-sample/manifests/site.pp:
class sample::site {
file { '/root/puppetfilecreation.txt':
ensure => "present",
owner => "root",
group => "root",
content => "hello Puppet had created file with module test",
}
}
and /test-sample/manifest/init.pp(this was automatically created by puppet generate )
class sample {
include sample::site (added this line)
}
When executed "puppet apply /etc/puppet/modules/test-sample/manifests/init.pp" below the response:
notice: Finished catalog run in 0.02 seconds
Issue : this puppet is not creating file which, I mentioned in site.pp
Please help me where i am getting wrong.
Thanks in advance