JohnW
2011-Apr-14 14:35 UTC
[Puppet Users] Puppet resource type "notify" and Puppet Dashboard
Hello, I''m using the following call in my default profile: notify { "development": message => "Puppet environment development", loglevel => " info"; } with similar entries in other environments. This works as expected with one exception, the way puppetmaster deals with the message. It still registers the message as a change in the system and sets the orange star on the report, where I was expecting an Unchanged entry (nothing was changed on the system). I''m using Puppet 2.6.7 and Puppet Dashboard 1.1.0. Is there any way to change this behaviour in the dashboard? grtz John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Dan Bode
2011-Apr-14 17:11 UTC
Re: [Puppet Users] Puppet resource type "notify" and Puppet Dashboard
On Thu, Apr 14, 2011 at 7:35 AM, JohnW <boerma.j.w@gmail.com> wrote:> Hello, > > I''m using the following call in my default profile: > > notify { "development": > message => "Puppet environment development", > loglevel => " info"; > } > > with similar entries in other environments. > > This works as expected with one exception, the way puppetmaster deals > with the message. > It still registers the message as a change in the system and sets the > orange star on the report, > where I was expecting an Unchanged entry (nothing was changed on the > system). >This notify event always synchronizes, so it will always show up as a changed event in the dashboard. What about using file title to achieve the same thing? file { ''/tmp/environment/${environment}'': ensure => present } This would still allow you see your environment in the report(b/c the resource will always be listed) and would only cause the node to be in a changed state if you change the environment (or the first time Puppet runs) Eventually, the environment should be accessible in the report, #3910 gets us a little closer to that.> I''m using Puppet 2.6.7 and Puppet Dashboard 1.1.0. > > Is there any way to change this behaviour in the dashboard? > > grtz > John > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.