When running puppet apply by hand, it is quite irritating to see 'unresolved dependency' warnings on modules for components that your system does not require and that you do not include deliberately.
I would like to be able to disable only this warning but retain all other warnings so that they are not lost in the noise.
When running {{puppet}} apply by hand, it is quite irritating to see 'unresolved dependency' warnings on modules for components that your system does not require and that you do not include deliberately.
I would like to be able to disable only this warning but retain all other warnings so that they are not lost in the noise.
Example output with working code (note the Warning that's lost in the mess of uresolved deps): {code:java} puppet apply /tmp/apply_manifest.pp.XopaFK Warning: ModuleLoader: module 'simp_options' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'simplib' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'compliance_markup' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'simp' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'pupmod' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'aide' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'auditd' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'clamav' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'deferred_resources' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'ntpd' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'pam' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'resolv' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'simp_rsyslog' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'tuned' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'useradd' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'selinux' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'logrotate' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'postfix' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'rsyslog' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'at' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'concat' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'cron' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: Defining "data_provider": "hiera" in metadata.json is deprecated. A 'hiera.yaml' file should be used instead (file: /etc/puppetlabs/code/environments/production/modules/deferred_resources/metadata.json) Warning: ModuleLoader: module 'incron' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'issue' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'simp_banners' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'named' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'tlog' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'polkit' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'nsswitch' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'sssd' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'pki' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'systemd' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'ssh' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'iptables' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'tcpwrappers' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'swap' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'timezone' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'fips' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'vox_selinux' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'rkhunter' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'motd' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'rsync' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'stunnel' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'oddjob' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Warning: ModuleLoader: module 'kmod' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n (file & line not available) Notice: Compiled catalog for el7.int.localdomain in environment production in 5.69 seconds Notice: /Stage[main]/Auditd::Config/File[/etc/audit/audit.rules.prev]/ensure: removed Notice: /Stage[main]/Auditd::Service/Service[auditd]: Triggered 'refresh' from 1 event Notice: Applied catalog in 41.89 seconds {code}
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppe...@googlegroups.com
As rationale for why this is relevant, I'm testing CentOS systems and want my module set to stay minimal. The following dependencies do not apply to my system: {code:java} │ │ └─┬ puppetlabs-postgresql (v5.12.1) │ │ └── UNMET DEPENDENCY puppetlabs-apt (>= 2.0.0 < 7.0.0) │ ├─┬ saz-timezone (v5.1.1) │ │ └── UNMET DEPENDENCY stm-debconf (>= 2.0.0 < 3.0.0) {code}