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.
I tried to check that a certain package is installed, but again
nothing happens:
# /etc/puppet/manifests/site.pp
package {
ntp:
ensure => installed
}
Should I try some exec:
# /etc/puppet/manifests/site.pp
exec { "touchtest":
command => "/bin/touch /home/bogdanbiv/touchtest"
}
In other words, how do I say "Hello world!" in my puppet show?