*created file in test-sample/manifests/site.pp:* Rename it to sample/manifetsts.site.pp
Cheers, Hristo On Wed, Jan 27, 2016 at 11:50 AM, kumar kittu <dvrki...@gmail.com> wrote: > 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 > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/21331cb4-1b64-45d4-8c45-6792cc0424bc%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/21331cb4-1b64-45d4-8c45-6792cc0424bc%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CALuoJ64Yo4Dgj36MAJSVgx%3D38QTu5%3D3o%2Bq8ndEbiPug0LE2PUw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.