Bogdan Bivolaru wrote:
> Hello gals & guys,
> I'm trying to make a simple site.pp manifest to verify that manifests
> are applied to my nodes. I plan to start from that to develop more
> complex scripts.
>
> However I'm having trouble writing a manifest that initial manifest
> and prove it works.
> The problem with the example at
> http://reductivelabs.com/trac/puppet/wiki/InstallationGuide
> # /etc/puppet/manifests/site.pp
> file { "/etc/sudoers":
> owner => root, group => root, mode => 440
> }
> is that there are no transaction changes to be made.
For testing, always run puppetd on your client with --test. Add
--evaltrace to also show you resources that were evaluated but didn't
need to take action.
> In other words, how do I say "Hello world!" in my puppet show?
notify {
hello_world:
message => "Hello, World!"
}
Regards, DavidS
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---