----- "Eric Snow" <[email protected]> wrote:
> -- puppet.conf --
>
> [main]
> modulepath = /usr/share/puppet/production/modules
>
> [development]
> modulepath = /usr/share/puppet/development/modules/settings
>
> [testing]
> modulepath = /usr/share/puppet/testing/modules
>
> [production]
> modulepath = /usr/share/puppet/production/modules
>
> -- /usr/share/puppet/development/modules/settings --
>
> settings
> |-- all
> |-- manifests
> |-- init.pp
> |-- hosttypes.pp
>
> -- node (in development) --
>
> node test {
> include hosttypes::unassigned
> }
>
> -- init.pp --
>
> import "*"
>
> -- hosttypes.pp --
>
> class hosttypes::unassigned {
> notify {"hosttypes::unassigned ": }
> notice("hosttypes::unassigned ")
> service {"httpd":
> enable => false,
> ensure => stopped,
> }
> }
>
> -- output --
>
> /usr/sbin/puppetd --logdest console --test --noop
> info: Caching catalog for <HOSTNAME>
> info: Applying configuration version '1289493629'
> notice: Finished catalog run in 0.51 seconds
>
>
> The httpd service is enabled and running when this run happens so it
> should report the noop. As well, neither the notice nor the notify
> happens. This is a simplification, but represents our situation.
are you sure the node {} is being loaded? add a notify in the node block
to confirm
--
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.