Hi list,

i just upgraded some servers to Puppet 2.6.2 and it seems like it's
not possible to use class names as tags anymore. I haven't found any
documentation about this except a bug for 2.6.1 that should be fixed
(http://projects.puppetlabs.com/issues/4631).

Example:

class firewall {

    package { "iptables":
        ensure   => latest,
        category => "net-firewall",
    }

   ....
}

# XXXXXXXX ~ # puppet agent --test --noop --tags main::firewall
notice: Ignoring --listen on onetime run
info: Retrieving plugin
info: Loading facts in root_device
info: Loading facts in site
info: Loading facts in system_profile
info: Loading facts in gcc_profile
info: Loading facts in portage_sync
info: Loading facts in default_gw
info: Loading facts in root_device
info: Loading facts in site
info: Loading facts in system_profile
info: Loading facts in gcc_profile
info: Loading facts in portage_sync
info: Loading facts in default_gw
info: Caching catalog for XXXXXXXX.YYYYYYYY.com
info: Applying configuration version '1066:1074M'
notice: Finished catalog run in 1.01 seconds

In this case a update for iptables is available when i don't specify a
tag. This has worked in 0.25.x and according to the docs it should too
in 2.6

Thanks,

Daniel

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to