Issue #9657 has been updated by Nan Liu.
> ` puppet apply --device=mydevice mydevicerules.pp` > This would apply the resources to a device called mydevice and whose > definition is found in `device.conf` > > `puppet apply --deviceconfig=/path/to/mydeviceconfig.conf mydevicerules.pp` > This could apply the manifest to multiple devices? > > `puppet apply --device=mydevice mixed_local_and_device_resources.pp` > There has been some talk about allowing mixed manifests where some kinds of > resources would be applied to the remote device, and others to the local > node. This seems incoherent... In all examples we need some option to invert apply behavior so it applies resources that are apply_to_device/apply_to_all, and skip apply_to_host. This is why the original ticket proposed the option `--allow_device`, I don't know if there's a better name for this flag. ---------------------------------------- Feature #9657: Improve puppet apply to support network device https://projects.puppetlabs.com/issues/9657 Author: Nan Liu Status: Needs Decision Priority: Normal Assignee: Randall Hansen Category: Target version: 2.7.x Affected Puppet version: 2.7.3 Keywords: network, device Branch: After writing additional network device, it seems reasonable to support device in puppet apply. Currently network resources are skipped: debug: /Stage[main]//F5_virtualserver[www-http]: Skipping device resources because running on a host debug: /Stage[main]//F5_virtualserver[www-https]: Skipping device resources because running on a host Rather than having two separate modules with slight differences (see: https://github.com/puppetlabs/puppetlabs-f5/issues/42). It makes sense to ensure puppet resource and puppet apply also supports --deviceconfig option. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" 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-bugs?hl=en.
